mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-06 08:33:56 +00:00
rename variable to be consistent with name in other files
This commit is contained in:
parent
b5d8aedb2b
commit
9f13c7e522
@ -124,9 +124,9 @@ def open_url_in_browser(link):
|
|||||||
webbrowser.open(link)
|
webbrowser.open(link)
|
||||||
else:
|
else:
|
||||||
import os, sys
|
import os, sys
|
||||||
version = sys.version[:3]
|
py_version = sys.version[:3]
|
||||||
file = os.path.join(INSTALL_PREFIX, 'lib', 'python' \
|
file = os.path.join(INSTALL_PREFIX, 'lib', 'python' \
|
||||||
+ version, 'site-packages', 'deluge', 'browser.py')
|
+ py_version, 'site-packages', 'deluge', 'browser.py')
|
||||||
os.spawnlp(os.P_NOWAIT, 'python', 'python', file, link)
|
os.spawnlp(os.P_NOWAIT, 'python', 'python', file, link)
|
||||||
|
|
||||||
def is_url(url):
|
def is_url(url):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user