Properly set application name
This commit is contained in:
+2
-2
@@ -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_())
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user