Make sure to use proper category id
This commit is contained in:
1 parent
eee16c7a3d
commit
36125f1067
2 files changed
+2
-2
No files matched your search
@@ -256,7 +256,7 @@ class Renamer(Plugin):
|
||||
destination = to_folder
|
||||
category_label = ''
|
||||
|
||||
if media.get('category_id'):
|
||||
if media.get('category_id') and media.get('category_id') != '-1':
|
||||
try:
|
||||
category = db.get('id', media['category_id'])
|
||||
category_label = category['label']
|
||||
|
||||
Reference in new issue
Block a user