top_dir fixup

This commit is contained in:
j 2024-06-10 15:17:26 +01:00
parent d5ff48a1c5
commit 50e07bced6

View file

@ -352,7 +352,7 @@ def get_tor():
return path
except:
pass
local_tor = os.path.normpath(os.path.join(settings.top_dir
local_tor = os.path.normpath(os.path.join(settings.top_dir,
'tor', 'tor-browser_en-US', 'Browser', 'TorBrowser', 'Tor', 'tor'))
if os.path.exists(local_tor):
return local_tor