diff --git a/src/fime/config.py b/src/fime/config.py index 96ca4f8..f50b8f8 100644 --- a/src/fime/config.py +++ b/src/fime/config.py @@ -40,7 +40,7 @@ class Config: @property def jira_url(self): - return dequotify(self._configparser["DEFAULT"]["jira_url"]) + return dequotify(self._configparser.get("DEFAULT", "jira_url", fallback="")) @jira_url.setter def jira_url(self, value): @@ -48,7 +48,7 @@ class Config: @property def jira_token(self): - return dequotify(self._configparser["DEFAULT"]["jira_token"]) + return dequotify(self._configparser.get("DEFAULT", "jira_token", fallback="")) @jira_token.setter def jira_token(self, value):