Skip to content

Commit

Permalink
issue #1120 - handle null version
Browse files Browse the repository at this point in the history
  • Loading branch information
davmlaw committed Jul 19, 2024
1 parent 9f6f323 commit 8239bca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seqauto/models/models_sequencing.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def get_absolute_url(self):
@staticmethod
def get_full_name(name: str, version: int):
name = name
if version > 1:
if version and version > 1:
name += f" (version {version})"
return name

Expand Down

0 comments on commit 8239bca

Please sign in to comment.