Skip to content

Commit f3522fd

Browse files
committed
UPnP arg fix in run_worker.py
1 parent b855825 commit f3522fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/run_worker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def main():
115115
local = config.get("local", False)
116116
trusted = config.get("trusted", False)
117117
mining_enabled = config.get("mining", False)
118-
upnp = True if local == "false" else False
118+
upnp = not local
119119

120120
if trusted:
121121
_confirm_action()

0 commit comments

Comments
 (0)