Update config port option name
Using "PORT" failed for me. Using "MAILPORT" which matches the config.ini worked.
This commit is contained in:
parent
d2183dce4f
commit
30b41f82d6
|
@ -124,7 +124,7 @@ if __name__ == '__main__':
|
||||||
else :
|
else :
|
||||||
Config = ConfigParser.ConfigParser()
|
Config = ConfigParser.ConfigParser()
|
||||||
Config.read("../config.ini")
|
Config.read("../config.ini")
|
||||||
port = int(Config.get("MAILSERVER","PORT"))
|
port = int(Config.get("MAILSERVER","MAILPORT"))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue