diff options
author | spoob <spoob@gmx.de> | 2009-06-14 16:28:26 +0200 |
---|---|---|
committer | spoob <spoob@gmx.de> | 2009-06-14 16:28:26 +0200 |
commit | 266c2401176a05bc0e808621ecfeaabecd1e5b44 (patch) | |
tree | 8249ec5d5efc7ea34f0d94f29c265e8af6e8ba64 /pyLoadCore.py | |
parent | third try (diff) | |
download | pyload-266c2401176a05bc0e808621ecfeaabecd1e5b44.tar.xz |
added relink.os Container Plugin
Diffstat (limited to 'pyLoadCore.py')
-rw-r--r-- | pyLoadCore.py | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py index 422bf013f..0ae1fb938 100644 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -60,7 +60,7 @@ class Core(object): self.init_logger(logging.DEBUG) # logging level - self.check_update() + #self.check_update() self.logger.info(_("Downloadtime: %s") % self.is_dltime()) # debug only @@ -110,16 +110,16 @@ class Core(object): for link in links: self.append_link(link) - def check_update(self): - """checks newst version - """ - newst_version = urllib2.urlopen("http://pyload.nady.biz/files/version.txt").readline().strip() - if CURRENT_VERSION < newst_version: - self.logger.info(_("new update %s on pyload.org") % newst_version) #newer version out - elif CURRENT_VERSION == newst_version: - self.logger.info(_("newst version %s in use:") % CURRENT_VERSION) #using newst version - else: - self.logger.info(_("beta version %s in use:") % CURRENT_VERSION) #using beta version + #def check_update(self): + #"""checks newst version + #""" + #newst_version = urllib2.urlopen("http://pyload.nady.biz/files/version.txt").readline().strip() + #if CURRENT_VERSION < newst_version: + #self.logger.info(_("new update %s on pyload.org") % newst_version) #newer version out + #elif CURRENT_VERSION == newst_version: + #self.logger.info(_("newst version %s in use:") % CURRENT_VERSION) #using newst version + #else: + #self.logger.info(_("beta version %s in use:") % CURRENT_VERSION) #using beta version def check_create(self, check_name, legend, folder=True): if not exists(check_name): |