Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variety can't find metadata files because they get mislabled on downloaded #650

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

YoungerDryas89
Copy link

I noticed Variety would name image metadata files with the image's partial filename causing Variety to fail to find them later. So I thought the best solution is to rename the image to it's proper one before writing a metadata. I also had some code accommodating for this bug by checking if a 'partial.metadata.json' equivalent file exists in Util.read_metadata, but I didn't commit it because I was unsure if you'd prefer people just manually rename their metadata files.

…cause, metadata will have '.partial' in it's name; and variety won't be able to find it later
@jlu5 jlu5 requested a review from peterlevi October 18, 2023 01:27
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