summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks')
-rw-r--r--module/plugins/hooks/UnRar.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/hooks/UnRar.py b/module/plugins/hooks/UnRar.py
index faa06d179..9ee9b2d46 100644
--- a/module/plugins/hooks/UnRar.py
+++ b/module/plugins/hooks/UnRar.py
@@ -95,7 +95,7 @@ class UnRar(Hook):
for fid, fname in files:
pyfile = self.core.files.getFile(fid)
- pyfile.setStatus("custom")
+ pyfile.setStatus("processing")
def s(p):
pyfile.alternativePercent = p
@@ -134,4 +134,5 @@ class UnRar(Hook):
finally:
pyfile.alternativePercent = None
pyfile.setStatus("finished")
+ pyfile.release()