Change confPath to a Path object
This commit is contained in:
@@ -27,6 +27,8 @@ import sys
|
||||
import getopt
|
||||
import logging
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
from PyQt5.QtGui import QIcon
|
||||
from PyQt5.QtWidgets import QApplication, QErrorMessage
|
||||
|
||||
@@ -156,7 +158,7 @@ def main(sysArgs=None):
|
||||
elif inOpt == "--style":
|
||||
qtStyle = inArg
|
||||
elif inOpt == "--config":
|
||||
confPath = inArg
|
||||
confPath = Path(inArg)
|
||||
elif inOpt == "--data":
|
||||
dataPath = inArg
|
||||
elif inOpt == "--testmode":
|
||||
|
||||
Reference in New Issue
Block a user