Skip to content

Commit

Permalink
no config_file in kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
heikoklein committed Nov 8, 2024
1 parent f9f5dc8 commit 88150f9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pyaerocom/aeroval/glob_defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ def __init__(self, config_file: str = "", **kwargs):
super().__init__()
with resources.path("pyaerocom.aeroval.data", "var_scale_colmap.ini") as file:
self.update_from_ini(file)
config_file = kwargs.pop("config_file", config_file)
if config_file != "":
logger.info(f"Reading additional web-scales from '{config_file}'")
if not os.path.exists(config_file):
Expand Down

0 comments on commit 88150f9

Please sign in to comment.