diff options
-rw-r--r-- | module/ConfigParser.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/module/ConfigParser.py b/module/ConfigParser.py index 9186c875c..98c82a1a5 100644 --- a/module/ConfigParser.py +++ b/module/ConfigParser.py @@ -6,6 +6,8 @@ from os.path import exists from os.path import join from shutil import copy +from traceback import print_exc + CONF_VERSION = 1 @@ -96,7 +98,8 @@ class ConfigParser: self.updateValues(homeconf, self.config) except Exception, e: - print e + print "Config Warning" + print_exc() self.username = self.config["remote"]["username"]["value"] @@ -186,7 +189,8 @@ class ConfigParser: "value" : value} except Exception, e: - print e + print "Config Warning" + print_exc() f.close() |