aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xtesting/core/campaign.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xtesting/core/campaign.py b/xtesting/core/campaign.py
index 5c5744ef..dbde42df 100644
--- a/xtesting/core/campaign.py
+++ b/xtesting/core/campaign.py
@@ -81,7 +81,7 @@ class Campaign():
"^{os.environ['HTTP_DST_URL']}/*", '',
output["results"][i]["details"]["links"][j])
Campaign.__logger.debug("data to archive: \n%s", output)
- with open("{env.get('BUILD_TAG')}.json", "w",
+ with open(f"{env.get('BUILD_TAG')}.json", "w",
encoding='utf-8') as dfile:
json.dump(output, dfile)
except Exception: # pylint: disable=broad-except