mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-19 18:00:22 +01:00
#1440 fix TOR detect
This commit is contained in:
parent
6d479dd0b3
commit
b6ec6a805a
@ -47,7 +47,7 @@ cfg.reload()
|
||||
|
||||
# todo: make sure that also ACME script uses TOR if activated
|
||||
session = requests.session()
|
||||
if cfg.run_behind_tor:
|
||||
if cfg.run_behind_tor.value:
|
||||
session.proxies = {'http': 'socks5h://127.0.0.1:9050', 'https': 'socks5h://127.0.0.1:9050'}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user