aboutsummaryrefslogtreecommitdiffstats
path: root/aggro.py
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2023-09-22 18:53:04 +0300
committerJan Tuomi <jans.tuomi@gmail.com>2023-09-22 18:53:04 +0300
commited5fbd131fad269074a461084834e40f5915ca8f (patch)
tree5aeb106637e1bf8bb7385886b6ad5f31296ec677 /aggro.py
parent4844c3f4baf97d9ef7a194ab1f24ce922b927b7b (diff)
Fix config reading issue with server
Diffstat (limited to 'aggro.py')
-rw-r--r--aggro.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/aggro.py b/aggro.py
index 0cd7ff6..695de44 100644
--- a/aggro.py
+++ b/aggro.py
@@ -40,8 +40,8 @@ if __name__ == "__main__":
aggrofile_server = get_config_or_default(aggrofile, "server", {})
server_config = AggroConfigServer(
- host=get_config_or_default(aggrofile_server, "server_host", "localhost"),
- port=get_config_or_default(aggrofile_server, "server_port", 8080),
+ host=get_config_or_default(aggrofile_server, "host", "localhost"),
+ port=get_config_or_default(aggrofile_server, "port", 8080),
)
aggrofile_email_alerter = get_config_or_default(aggrofile, "email_alerter", None)