Skip to content

Commit e2d9f97

Browse files
author
William Taylor
committed
Fix TypeError with setuptools_scm_git_archive
1 parent a289b76 commit e2d9f97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/setuptools_scm/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717

1818
def _parse_version_tag(tag, config):
19-
tagstring = tag if not isinstance(tag, str) else str(tag)
19+
tagstring = tag if isinstance(tag, str) else str(tag)
2020
match = config.tag_regex.match(tagstring)
2121

2222
result = None

0 commit comments

Comments
 (0)