Update stashdb-performer-gallery.py

Bugfix, create a .nogallery file in the directory so the built in gallery does not get created.
This commit is contained in:
Tweeticoats
2024-01-25 14:01:06 +10:30
committed by GitHub
parent b36952016c
commit 14c24cfb07

View File

@@ -43,6 +43,8 @@ def processPerformers():
def processPerformer( performer):
dir=Path(settings['path']) / performer['id']
dir.mkdir(parents=True, exist_ok=True)
nogallery=dir / '.nogallery'
nogallery.touch()
for sid in performer['stash_ids']:
log.debug(sid)
processPerformerStashid(sid['endpoint'],sid['stash_id'],performer)