diff options
author | spoob <spoob@gmx.de> | 2009-08-14 14:13:12 +0200 |
---|---|---|
committer | spoob <spoob@gmx.de> | 2009-08-14 14:13:12 +0200 |
commit | 2ec98183a8fc44e2f2da62a5e820d61250b66489 (patch) | |
tree | 23a38d43ee7ed369c896d16e7f11b7fe8d21bd43 | |
parent | added --url and --list params (diff) | |
download | pyload-2ec98183a8fc44e2f2da62a5e820d61250b66489.tar.xz |
fixed little bugs
-rwxr-xr-x | pyLoadCore.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py index 9c9ff0eb8..f848d8cdf 100755 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -64,8 +64,10 @@ class Core(object): if self.config['debug_mode']: self.init_logger(logging.DEBUG) # logging level + self.print_test_status = True else: self.init_logger(logging.INFO) # logging level + self.print_test_status = False self.check_update() @@ -317,7 +319,7 @@ class Core(object): self.add_links([params]) elif option in ("-l", "--list"): list = open(params, 'r').readlines() - self.add_links(link) + self.add_links(list) self.logger.info("Add list:" + params) self.read_links() |