summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyLoadCore.py')
-rw-r--r--pyLoadCore.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py
index c9f9c0ccc..36e06c1e4 100644
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -17,7 +17,7 @@
# along with this program; if not, see <http://www.gnu.org/licenses/>.
#
###
-CURRENT_VERSION = '0.0.5'
+CURRENT_VERSION = '0.1.0'
import ConfigParser
import gettext
@@ -62,6 +62,7 @@ class Core(object):
self.init_logger(logging.DEBUG) # logging level
+
self.check_update()
self.logger.info(_("Downloadtime: %s") % self.is_dltime()) # debug only
@@ -121,6 +122,9 @@ class Core(object):
def check_update(self):
"""checks newst version
"""
+ if not self.config['search_updates']:
+ return False
+
newst_version = urllib2.urlopen("http://pyloadupdate.appspot.com/", "version="+CURRENT_VERSION).readline()
if newst_version == "True":
if not self.config['install_updates']: