fix undefined variable

This commit is contained in:
Robert Kaussow 2020-05-04 19:50:13 +02:00
parent 391dab74ee
commit 513f87659e

View File

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