changed appcwd definition, get the script file path

This commit is contained in:
Bachir Soussi Chiadmi
2017-06-06 23:04:57 +02:00
parent b8be88d488
commit 7fd6992a62
2 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -25,9 +25,9 @@ from classes import server, sasscompiler, md2html
# / /___/ /_/ / / / __/
# \____/\____/_/ \___/
class Core():
def __init__(self, parent=None):
def __init__(self, apppath):
# restore previous preferences
self.appcwd = os.getcwd()
self.appcwd = apppath
self.restorePreferences()
self._mw = False