Skip to content

Conversation

@anonymous-ants
Copy link
Contributor

Noticed this syntax error (introduced in #602) when running locally via the following error log:

DEBU[2025-09-12 19:00:48] Plugin The Porn DB Markers started: /Users/alex/.pyenv/shims/python3 plugins/community/TPDBMarkers/tpdbMarkers.py
ERRO[2025-09-12 19:00:48] [Plugin / The Porn DB Markers]   File "/Users/alex/Code/stash-app/plugins/community/TPDBMarkers/tpdbMarkers.py", line 50
ERRO[2025-09-12 19:00:48] [Plugin / The Porn DB Markers]     marker["title"] = f"[TPDBMarker] {m["title"]}"
ERRO[2025-09-12 19:00:48] [Plugin / The Porn DB Markers]                                          ^^^^^
ERRO[2025-09-12 19:00:48] [Plugin / The Porn DB Markers] SyntaxError: f-string: unmatched '['
DEBU[2025-09-12 19:00:48] Plugin The Porn DB Markers finished

The inner double quotes should either be escaped, or the outer double quotes replaced with single quotes (as this PR does).

@DogmaDragon
Copy link
Contributor

Please bump the version in the .yml file.

@anonymous-ants
Copy link
Contributor Author

Please bump the version in the .yml file.

Done, thanks @DogmaDragon

@DogmaDragon DogmaDragon merged commit a2813fb into stashapp:main Sep 16, 2025
1 check passed
@anonymous-ants anonymous-ants deleted the patch-1 branch September 18, 2025 04:42
@DogmaDragon DogmaDragon added type:plugin Plugins object:marker Affects or is triggered by marker object labels Sep 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

object:marker Affects or is triggered by marker object type:plugin Plugins

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants