Fix missing 'fallback' kwarg for base_port in pypofile

This commit is contained in:
Jérôme Lebleu 2021-02-03 17:25:11 +01:00
parent b65ded9fc2
commit 298c5a9264
1 changed files with 1 additions and 1 deletions

View File

@ -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: