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 7c853ab commit b307bf1
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 @@ -109,7 +109,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 b307bf1

Please sign in to comment.