moved config file into .bungloo dir

This commit is contained in:
jeena 2013-02-11 00:00:02 +01:00
parent 62ebf97640
commit 94e3372364

View file

@ -60,7 +60,8 @@ class Controller(QtCore.QObject):
QtCore.QObject.__init__(self)
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):
with open(self.config_path, 'r') as f:
self.config = pickle.load(f)