提交 80df161c 编写于 作者: S Shinwell Hu

fix corner case where version info is empty

上级 9a5d3a2f
......@@ -60,7 +60,7 @@ def clean_tags(tags, info):
separator_regex = re.compile(info["seperator"])
result_list = [separator_regex.sub(".", x) for x in result_list]
result_list = [x for x in result_list if x[0].isdigit()]
result_list = [x for x in result_list if len(x) > 0 and x[0].isdigit()]
return result_list
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册