From 4ef08cbe5e8d1e7f25779d61c522818ae46e6348 Mon Sep 17 00:00:00 2001 From: Simon Date: Sun, 30 May 2021 16:15:25 +0100 Subject: [PATCH] Fix error in tobytes() --- config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.py b/config.py index 720931a..448d087 100755 --- a/config.py +++ b/config.py @@ -125,7 +125,7 @@ def build_config(_config_file): 'GEN_STAT_BRIDGES': config.getboolean(section, 'GEN_STAT_BRIDGES'), 'ALLOW_NULL_PASSPHRASE': config.getboolean(section, 'ALLOW_NULL_PASSPHRASE'), 'ANNOUNCEMENT_LANGUAGES': config.get(section, 'ANNOUNCEMENT_LANGUAGES'), - 'SERVER_ID': config.get(section, 'SERVER_ID').to_bytes(4, 'big') + 'SERVER_ID': config.getint(section, 'SERVER_ID').to_bytes(4, 'big') })