Skip to content

Commit

Permalink
Stay python 3.9 compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
schaefi committed Jan 26, 2025
1 parent d756ec0 commit 5cc0232
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kiwi_boxed_plugin/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ def get_plugin_config_file() -> str:
config_name = "kiwi_boxed_plugin.yml"

# 1.
config_path_env: str | None = os.environ.get("KIWI_BOXED_PLUGIN_CFG")
if config_path_env is not None and os.path.exists(config_path_env):
config_path_env: str = os.environ.get("KIWI_BOXED_PLUGIN_CFG") or ''
if config_path_env and os.path.exists(config_path_env):
return config_path_env

# 2.
Expand Down

0 comments on commit 5cc0232

Please sign in to comment.