Skip to content

Commit

Permalink
[postprocessor_script] v0.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and Josh5 committed Dec 23, 2023
1 parent aa00a28 commit e376216
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions source/postprocessor_script/changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

**<span style="color:#56adda">0.0.7</span>**
- Fix plugin when run along side another plugin that moves or removes the source file

**<span style="color:#56adda">0.0.6</span>**
- Add support for Bash script inputs in the plugin settings
- Add support for Python script inputs in the plugin settings
Expand Down
2 changes: 1 addition & 1 deletion source/postprocessor_script/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
"on_postprocessor_task_results": 0
},
"tags": "script,command,post-processor",
"version": "0.0.6"
"version": "0.0.7"
}
2 changes: 1 addition & 1 deletion source/postprocessor_script/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ def on_postprocessor_task_results(data):

# Map variables to be replaced in cmd and args
abspath = data.get('source_data', {}).get('abspath')
source_size = os.path.getsize(abspath)
source_size = os.path.getsize(abspath) if os.path.exists(abspath) else None
variable_map = {
'{library_id}': str(data.get('library_id')),
'{final_cache_path}': str(data.get('final_cache_path')),
Expand Down

0 comments on commit e376216

Please sign in to comment.