mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-16 07:19:00 +00:00
rename variable to be consistent with name in other files
This commit is contained in:
parent
b5d8aedb2b
commit
9f13c7e522
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue