Additional bugfix/namechange

metadata
Chris Truncer 2015-12-03 13:12:21 -07:00
parent d20d8712e0
commit 95ca43814f
3 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ class Server:
self.username = cli_object.username
self.password = cli_object.password
self.data_directory = ""
if cli_object.port:
if cli_object.server_port:
self.port = int(cli_object.server_port)
else:
self.port = 21

View File

@ -25,7 +25,7 @@ class Server:
self.username = cli_object.username
self.password = cli_object.password
self.sftp_directory = helpers.ea_path() + '/data'
if cli_object.port:
if cli_object.server_port:
self.port = int(cli_object.server_port)
else:
self.port = 22

View File

@ -18,7 +18,7 @@ class Server:
def __init__(self, cli_object):
self.protocol = "smtp"
if cli_object.port:
if cli_object.server_port:
self.port = int(cli_object.server_port)
else:
self.port = 25