mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-13 03:38:51 +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)
|
||||
else:
|
||||
import os, sys
|
||||
version = sys.version[:3]
|
||||
py_version = sys.version[:3]
|
||||
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)
|
||||
|
||||
def is_url(url):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue