From 188fb5897599e0dfcf9f110ea9086632ce510a78 Mon Sep 17 00:00:00 2001 From: jeena Date: Thu, 21 Feb 2013 21:28:43 +0100 Subject: [PATCH] fixed problem with not creating dir --- Linux/Bungloo.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Linux/Bungloo.py b/Linux/Bungloo.py index de6deee..707a6ee 100755 --- a/Linux/Bungloo.py +++ b/Linux/Bungloo.py @@ -60,7 +60,8 @@ class Controller(QtCore.QObject): QtCore.QObject.__init__(self) self.app = app - os.path.expanduser("~/.bungloo/") + if not os.path.exists(os.path.expanduser("~/.bungloo/")): + os.makedirs(os.path.expanduser("~/.bungloo/")) self.config_path = os.path.expanduser('~/.bungloo/bungloo.cfg') if os.access(self.config_path, os.R_OK):