Skip to content

Commit

Permalink
fix overloaded site_name
Browse files Browse the repository at this point in the history
  • Loading branch information
jgstew committed Mar 14, 2024
1 parent 97b4527 commit 014cfaa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions examples/baseline_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,10 @@ def create_baseline_from_site(site):
logging.debug("Baseline XML:\n%s", baseline_xml)

file_path = "tmp_baseline.bes"
site_name = "Demo"
site_path = f"custom/{site_name}"

# the custom site to import the baseline into:
import_site_name = "Demo"
site_path = f"custom/{import_site_name}"

# Does not work through console import:
with open(file_path, "w", encoding="utf-8") as f:
Expand Down

0 comments on commit 014cfaa

Please sign in to comment.