diff options
| author | 2010-09-28 14:49:01 +0200 | |
|---|---|---|
| committer | 2010-09-28 14:49:01 +0200 | |
| commit | 83452efebd98ea333ea7d248f2c88ca4d7fafa6e (patch) | |
| tree | 666424e231028b507ab8fbfec30ec595b2a3b189 | |
| parent | rs, check downloaded files (diff) | |
| download | pyload-83452efebd98ea333ea7d248f2c88ca4d7fafa6e.tar.xz | |
parser warnings
| -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() |
