Skip to content

Declare 'value_parts' variable before referencing it#2737

Draft
NoNameHeath wants to merge 1 commit into
stashapp:masterfrom
NoNameHeath:patch-1
Draft

Declare 'value_parts' variable before referencing it#2737
NoNameHeath wants to merge 1 commit into
stashapp:masterfrom
NoNameHeath:patch-1

Conversation

@NoNameHeath

@NoNameHeath NoNameHeath commented May 8, 2026

Copy link
Copy Markdown

Generated by an automatic template. Can be removed if not applicable.

Scraper type(s)

  • performerByName
  • performerByFragment
  • performerByURL
  • sceneByName
  • sceneByQueryFragment
  • sceneByFragment
  • sceneByURL
  • groupByURL
  • galleryByFragment
  • galleryByURL
  • imageByFragment
  • imageByURL

Examples to test

Any image with entries in any of the following EXIF tags: Exif.Image.XPKeywords, EXIF:XPKeywords, Iptc.Application2.Keywords, IPTC:Keywords

Short description

Declaring 'value_parts' variable under both 'if' and 'else' to avoid 'else' referencing undeclared variable.

This can probably be more elegant, but I truly know very little about python so wanted to make as few changes as possible.

…lse' referencing undeclared variable

This can probably be more elegant, but I truly know very little about python so wanted to make as few changes as possible.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant