Browse Source

Correctly switch HTTPS port if occupied on first start

pull/942/head
Safihre 8 years ago
parent
commit
ba3c731fee
  1. 2
      SABnzbd.py

2
SABnzbd.py

@ -1062,7 +1062,7 @@ def main():
sabnzbd.cfg.https_port.set(newport)
else:
# In case HTTPS == HTTP port
http_port = newport
cherryport = newport
sabnzbd.cfg.port.set(newport)
except:
# Something else wrong, probably badly specified host

Loading…
Cancel
Save