diff options
author | rahulp13 | 2020-02-21 12:39:52 +0530 |
---|---|---|
committer | rahulp13 | 2020-02-21 12:39:52 +0530 |
commit | 567e3b725fcc9d22e27cfd854a573d3e64deaff1 (patch) | |
tree | abd4d995d5891a1196a7ca421b7d7b33cad75552 /src/configuration | |
parent | 982b49ef618222af80162aa98c07ab281dec1692 (diff) | |
download | eSim-567e3b725fcc9d22e27cfd854a573d3e64deaff1.tar.gz eSim-567e3b725fcc9d22e27cfd854a573d3e64deaff1.tar.bz2 eSim-567e3b725fcc9d22e27cfd854a573d3e64deaff1.zip |
restructured code - pyinstaller
Diffstat (limited to 'src/configuration')
-rw-r--r-- | src/configuration/Appconfig.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/configuration/Appconfig.py b/src/configuration/Appconfig.py index dfe4363f..6a10f3d7 100644 --- a/src/configuration/Appconfig.py +++ b/src/configuration/Appconfig.py @@ -36,7 +36,7 @@ class Appconfig(QtGui.QWidget): # Home directory try: file = open(os.path.join( - os.path.expanduser("~"), ".esim/workspace.txt"), 'r' + os.path.expanduser("~"), ".esim/workspace.txt"), 'r' ) workspace_check, home = file.readline().split(' ', 1) file.close() @@ -53,7 +53,7 @@ class Appconfig(QtGui.QWidget): workspace_text = "eSim stores your project in a folder called " workspace_text += "eSim-Workspace. You can choose a different " workspace_text += "workspace folder to use for this session." - + procThread_list = [] proc_dict = {} # hold pids of all external windows of the current project dock_dict = {} # holds all dockwidgets @@ -61,7 +61,7 @@ class Appconfig(QtGui.QWidget): default_workspace["workspace"], ".projectExplorer.txt") } - noteArea = {"Note" : []} + noteArea = {"Note": []} parser_esim = SafeConfigParser() parser_esim.read( @@ -80,7 +80,7 @@ class Appconfig(QtGui.QWidget): # Open file and read KiCad config path try: - file = open('../supportFiles/kicad_config_path.txt', 'r') + file = open('library/supportFiles/kicad_config_path.txt', 'r') kicad_path = file.read().rstrip() file.close() except BaseException as e: |