Skip to content

Commit

Permalink
Fix syntax error in timestampTrade.py
Browse files Browse the repository at this point in the history
This line leads to an syntax error: "unmatched '['" due to the usage of double quotes for both the f-string and the inner dictionary key.
  • Loading branch information
Written2001 authored Sep 24, 2024
1 parent 198dc58 commit c43c762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/timestampTrade/timestampTrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def processSceneTimestamTrade(s):
marker["primary_tag"] = m["name"]

if settings["addTsTradeTitle"]:
marker["title"] = f"[TsTrade] {m["name"]}"
marker["title"] = f"[TsTrade] {m['name']}"

# check for markers with a zero length title, skip adding
if len(marker["primary_tag"]) == 0:
Expand Down

0 comments on commit c43c762

Please sign in to comment.