from settings import appconf
-if __name__ == '__main__':
+def main():
#makes the application quit upon sigint
signal.signal(signal.SIGINT, signal.SIG_DFL)
#Application init
window = Gui(prManager)
window.main()
+
+if __name__ == '__main__':
+ main()
+
+