Skip to content

Commit

Permalink
Remove dangling else clause in miscTags
Browse files Browse the repository at this point in the history
  • Loading branch information
Maista6969 committed Jan 19, 2024
1 parent dd46fa2 commit 2e11d35
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
14 changes: 5 additions & 9 deletions plugins/miscTags/miscTags.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,11 @@ def processVRTags(scene,tags):
found=True
if found:
if 'vrTag' in stash.get_configuration()['ui']:
if 'vrTag' in stash.get_configuration()['ui']:
vr_tag=stash.get_configuration()['ui']['vrTag']
if vr_tag:
tags.append(vr_tag)
else:
tags.append('VR')
else:
tags.append('VR')

vr_tag=stash.get_configuration()['ui']['vrTag']
if vr_tag:
tags.append(vr_tag)
else:
tags.append('VR')
else:
tags.append('VR')
return None
Expand Down
8 changes: 4 additions & 4 deletions plugins/miscTags/miscTags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ settings:
description: Comma seperated list of studio number in your instance to tag with export_devor,FLAT for use with stash-vr-companion
type: STRING
hooks:
- name: process Scene
description: Makes Markers checking against timestamp.trade
- name: Process Scene
description: Adds extra tags to scenes
triggeredBy:
- Scene.Update.Post
tasks:
- name: 'process all'
description: Process all scenes and add extra tags if configured
- name: Process all
description: Process all scenes and add extra tags if configured
defaultArgs:
mode: processScenes

0 comments on commit 2e11d35

Please sign in to comment.