moved config file into .bungloo dir
This commit is contained in:
parent
62ebf97640
commit
94e3372364
1 changed files with 2 additions and 1 deletions
|
@ -60,7 +60,8 @@ class Controller(QtCore.QObject):
|
||||||
QtCore.QObject.__init__(self)
|
QtCore.QObject.__init__(self)
|
||||||
self.app = app
|
self.app = app
|
||||||
|
|
||||||
self.config_path = os.path.expanduser('~/.bungloo.cfg')
|
os.mkdir(os.path.expanduser("~/.bungloo/"))
|
||||||
|
self.config_path = os.path.expanduser('~/.bungloo/bungloo.cfg')
|
||||||
if os.access(self.config_path, os.R_OK):
|
if os.access(self.config_path, os.R_OK):
|
||||||
with open(self.config_path, 'r') as f:
|
with open(self.config_path, 'r') as f:
|
||||||
self.config = pickle.load(f)
|
self.config = pickle.load(f)
|
||||||
|
|
Reference in a new issue