mirror of
https://github.com/thegeeklab/docker-autotag.git
synced 2024-11-05 00:40:40 +00:00
fix undefined variable
This commit is contained in:
parent
391dab74ee
commit
513f87659e
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user