From ba3c731feeacec2aa259a0ecebd3dd8eafc0f5f8 Mon Sep 17 00:00:00 2001 From: Safihre Date: Thu, 8 Jun 2017 10:50:13 +0200 Subject: [PATCH] Correctly switch HTTPS port if occupied on first start --- SABnzbd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SABnzbd.py b/SABnzbd.py index 977295a..9b9987e 100755 --- a/SABnzbd.py +++ b/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