Skip to content

Commit

Permalink
allow backslash in settings file path; fixes #14
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-werner committed Jan 14, 2025
1 parent bf77295 commit 0565d4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions generate_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
settings_stream = args.settings_file
skip_steps = args.skip or []
base_path = settings_stream.name.rsplit('/', 1)[0]
if settings_stream.name.find("\\") > 0: # allow use of backslash
base_path = settings_stream.name.rsplit('\\', 1)[0]
if args.loglevel:
h.verbose_level = int(args.loglevel[0])
h.majorInfo(f"using log level {h.verbose_level}")
Expand Down

0 comments on commit 0565d4f

Please sign in to comment.