fix undefined variable

This commit is contained in:
Robert Kaussow 2020-05-04 19:50:13 +02:00
parent 391dab74ee
commit 513f87659e
1 changed files with 2 additions and 1 deletions

View File

@ -51,10 +51,11 @@ class Autotag:
@staticmethod
def _tag_extra(tags, extra):
e = []
if extra:
e = [x.strip() for x in extra.split(",")]
return tags + e or []
return tags + e
@staticmethod
def _tag_suffix(tags, suffix):