Fix error in tobytes()

This commit is contained in:
Simon 2021-05-30 16:15:25 +01:00
parent 52da820554
commit 4ef08cbe5e
1 changed files with 1 additions and 1 deletions

View File

@ -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')
})