Properly set application name

This commit is contained in:
Veronica K. B. Olsen
2019-06-03 21:19:05 +02:00
parent dc1fbc414c
commit 5ff56a2b4b
+2 -2
View File
@@ -126,7 +126,7 @@ def main(sysArgs):
print(helpMsg) print(helpMsg)
exit() exit()
elif inOpt in ("-v", "--version"): elif inOpt in ("-v", "--version"):
print("makeNovel %s Version %s" % (__status__,__version__)) print("%s %s Version %s" % (__package__,__status__,__version__))
exit() exit()
elif inOpt in ("-d", "--debug"): elif inOpt in ("-d", "--debug"):
debugLevel = logging.DEBUG debugLevel = logging.DEBUG
@@ -184,7 +184,7 @@ def main(sysArgs):
nwGUI = GuiMain() nwGUI = GuiMain()
return nwGUI return nwGUI
else: else:
nwApp = QApplication([]) nwApp = QApplication([__package__])
nwGUI = GuiMain() nwGUI = GuiMain()
exit(nwApp.exec_()) exit(nwApp.exec_())