Small bug fix

metadata
Chris Truncer 2015-12-03 13:10:58 -07:00
parent bd4f7c9af1
commit d20d8712e0
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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