Let's keep the main launcher novelWriter.py and let setuptools handle the rest
This commit is contained in:
+4
-1
@@ -67,10 +67,13 @@ logger = logging.getLogger(__name__)
|
||||
# Load the main config as a global object
|
||||
CONFIG = Config()
|
||||
|
||||
def main(sysArgs):
|
||||
def main(sysArgs=None):
|
||||
"""Parses command line, sets up logging, and launches main GUI.
|
||||
"""
|
||||
|
||||
if sysArgs is None:
|
||||
sysArgs = sys.argv[1:]
|
||||
|
||||
# Valid Input Options
|
||||
shortOpt = "hdDqtl:v"
|
||||
longOpt = [
|
||||
|
||||
Reference in New Issue
Block a user