Small bug fix
parent
bd4f7c9af1
commit
d20d8712e0
|
@ -16,7 +16,7 @@ class Server:
|
|||
|
||||
def __init__(self, cli_object):
|
||||
self.protocol = "http"
|
||||
if cli_object.port:
|
||||
if cli_object.server_port:
|
||||
self.port = int(cli_object.server_port)
|
||||
else:
|
||||
self.port = 80
|
||||
|
|
|
@ -18,7 +18,7 @@ class Server:
|
|||
|
||||
def __init__(self, cli_object):
|
||||
self.protocol = "https"
|
||||
if cli_object.port:
|
||||
if cli_object.server_port:
|
||||
self.port = int(cli_object.server_port)
|
||||
else:
|
||||
self.port = 443
|
||||
|
|
Loading…
Reference in New Issue