diff --git a/dockerautotag/Cli.py b/dockerautotag/Cli.py index b67d7d3..a077932 100644 --- a/dockerautotag/Cli.py +++ b/dockerautotag/Cli.py @@ -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):