remove already imported import
This commit is contained in:
parent
a5d5cb7f4b
commit
bacdec3e76
|
@ -115,7 +115,7 @@ class DelugeGTK:
|
||||||
self.update_interface = True
|
self.update_interface = True
|
||||||
|
|
||||||
def new_release_check():
|
def new_release_check():
|
||||||
import os, sys
|
import sys
|
||||||
py_version = sys.version[:3]
|
py_version = sys.version[:3]
|
||||||
file = common.INSTALL_PREFIX + '/lib/python' + py_version + '/site-packages/deluge/update.py'
|
file = common.INSTALL_PREFIX + '/lib/python' + py_version + '/site-packages/deluge/update.py'
|
||||||
os.spawnlp(os.P_NOWAIT, 'python', 'python', file, common.PROGRAM_VERSION)
|
os.spawnlp(os.P_NOWAIT, 'python', 'python', file, common.PROGRAM_VERSION)
|
||||||
|
|
Loading…
Reference in New Issue