mirror of
https://github.com/stashapp/CommunityScripts.git
synced 2026-04-29 21:55:52 -05:00
[Plugin/renamer] Fix issue #37C
This commit is contained in:
@@ -605,7 +605,7 @@ if PLUGIN_ARGS == "Process_dry":
|
||||
with open(FILE_DRYRUN_RESULT, 'r') as f:
|
||||
for line in f:
|
||||
scene_id_file = line.split("|")[0]
|
||||
scenes["scenes"].append(scene_id_file)
|
||||
scenes["scenes"].append({"id": scene_id_file})
|
||||
else:
|
||||
exit_plugin(err="Can't find the file from the dry-run ({}). Be sure to run a Dry-Run task before.".format(FILE_DRYRUN_RESULT))
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: renamerTask
|
||||
description: Rename filename based to a template.
|
||||
url: https://github.com/stashapp/CommunityScripts
|
||||
version: 1.0
|
||||
version: 1.1
|
||||
exec:
|
||||
- python
|
||||
- "{pluginDir}/renamerTask.py"
|
||||
|
||||
Reference in New Issue
Block a user