Kabe0 / deluge-windscribe

To provide an isolated VPN layer with Deluge
22 stars 6 forks source link

VPN_ENABLE Environment variable does not work #9

Closed GeorgeArgyrakis closed 3 years ago

GeorgeArgyrakis commented 3 years ago

In init.py this if os.getenv('VPN_ENABLE', True): always returns true the correct syntax must be something like that if os.getenv('VPN_ENABLE', True).lower() in ['true', '1']:

Kabe0 commented 3 years ago

Good catch! I'll patch it tonight.

Kabe0 commented 3 years ago

1.8.8 resolves this issue