Additional bugfix/namechange
parent
d20d8712e0
commit
95ca43814f
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue