Skip to content

Commit

Permalink
Update config_generator.py (#71)
Browse files Browse the repository at this point in the history
Fix error, where the path of the themes_config.json is given to a function instead of its contents (json dict)
  • Loading branch information
tobias-brunner authored Mar 7, 2024
1 parent fdd51a0 commit 1fc9442
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config_generator/config_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,14 +236,14 @@ def __init__(self, config, logger, config_file_dir):
self.preprocess_qgs_projects(generator_config, self.tenant)

# Search for QGS projects in scan dir and automatically generate theme items
self.search_qgs_projects(generator_config, themes_config)
self.search_qgs_projects(generator_config, config["themesConfig"])

# Search for QGS print layouts
print_layouts = self.search_print_layouts(generator_config)

# load metadata for all QWC2 theme items
self.theme_reader = ThemeReader(
generator_config, themes_config, self.logger, print_layouts
generator_config, config["themesConfig"], self.logger, print_layouts
)

# lookup for additional service configs by name
Expand Down

0 comments on commit 1fc9442

Please sign in to comment.