From b3690ea11e39082808fda7c498efaec9c9f834f2 Mon Sep 17 00:00:00 2001 From: Danislav Date: Wed, 8 Apr 2020 23:27:53 +0200 Subject: [PATCH] Read the db_port as integer (#11392) db_port must be read as integer. I have missed to add this in the pull 11284 --- services-wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services-wrapper.py b/services-wrapper.py index 1da03a3a5b..93eedafb50 100755 --- a/services-wrapper.py +++ b/services-wrapper.py @@ -101,7 +101,7 @@ elif ':' in config['db_host']: db_port = int(config['db_host'].rsplit(':')[1]) elif 'db_port' in config: db_server = config['db_host'] - db_port = config['db_port'] + db_port = int(config['db_port']) else: db_server = config['db_host'] db_port = 0