Skip to content

Commit 779e1f8

Browse files
localdenCopilot
andauthored
Update src/specify_cli/__init__.py
Co-authored-by: Copilot <[email protected]>
1 parent 177dcad commit 779e1f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/specify_cli/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1307,7 +1307,7 @@ def version():
13071307
release_data = response.json()
13081308
template_version = release_data.get("tag_name", "unknown")
13091309
# Remove 'v' prefix if present
1310-
if template_version != "unknown" and template_version.startswith("v"):
1310+
if template_version.startswith("v"):
13111311
template_version = template_version[1:]
13121312
release_date = release_data.get("published_at", "unknown")
13131313
if release_date != "unknown":

0 commit comments

Comments
 (0)