From 298c5a92646626e9fa2629d3d0df1739b5172152 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Lebleu?= Date: Wed, 3 Feb 2021 17:25:11 +0100 Subject: [PATCH] Fix missing 'fallback' kwarg for base_port in pypofile --- python_apps/pypo/pypo/pypofile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_apps/pypo/pypo/pypofile.py b/python_apps/pypo/pypo/pypofile.py index 6b12e67bc..62b0aed2e 100644 --- a/python_apps/pypo/pypo/pypofile.py +++ b/python_apps/pypo/pypo/pypofile.py @@ -67,7 +67,7 @@ class PypoFile(Thread): CONFIG_SECTION = "general" username = self._config.get(CONFIG_SECTION, 'api_key') baseurl = self._config.get(CONFIG_SECTION, 'base_url') - port = self._config.get(CONFIG_SECTION, 'base_port', 80) + port = self._config.get(CONFIG_SECTION, 'base_port', fallback=80) if self._config.getboolean(CONFIG_SECTION, 'force_ssl', fallback=False): protocol = 'https' else: