touchup to new version check

This commit is contained in:
Marcos Pinto 2007-08-01 04:20:44 +00:00
parent 756dcd294b
commit bb5231bdf7
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ class DelugeGTK:
import os, sys import os, sys
py_version = sys.version[:3] py_version = sys.version[:3]
file = '/usr/lib/python' + py_version + '/site-packages/deluge/update.py' file = '/usr/lib/python' + py_version + '/site-packages/deluge/update.py'
os.spawnlp(os.P_NOWAIT, 'python', 'python', file, '0.5.3') os.spawnlp(os.P_NOWAIT, 'python', 'python', file, common.PROGRAM_VERSION)
if self.config.get("new_releases"): if self.config.get("new_releases"):
new_release_check() new_release_check()