summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/UpdateManager.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks/UpdateManager.py')
-rw-r--r--module/plugins/hooks/UpdateManager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hooks/UpdateManager.py b/module/plugins/hooks/UpdateManager.py
index 10f50d1f0..dc8eafbb8 100644
--- a/module/plugins/hooks/UpdateManager.py
+++ b/module/plugins/hooks/UpdateManager.py
@@ -65,7 +65,7 @@ class UpdateManager(Hook):
"""checks if an update is available"""
try:
- version_check = getURL("http://get.pyload.org/check/%s/" % self.core.server_methods.get_server_version())
+ version_check = getURL("http://get.pyload.org/check/%s/" % self.core.api.getServerVersion())
if version_check == "":
return False
else: