diff --git a/src/fime/config.py b/src/fime/config.py index f8025a8..96ca4f8 100644 --- a/src/fime/config.py +++ b/src/fime/config.py @@ -9,8 +9,6 @@ try: except ImportError: from PySide2 import QtCore -from fime.exceptions import FimeException - def dequotify(string): if string.startswith(('"', "'")) and string.endswith(('"', "'")): @@ -30,11 +28,6 @@ class Config: config_text = f.read() config_text = "[DEFAULT]\n" + config_text self._configparser.read_string(config_text) - # TODO change menu items - if (not self._configparser.has_option("DEFAULT", "jira_url") or - not self._configparser.has_option("DEFAULT", "jira_token")): - raise FimeException(f'Please add config file {self.config_path} ' - f'with config keys "jira_url" and "jira_token" in INI style') def save(self): logger.info(f'writing config file "{self.config_path}"')