Skip to content

Commit 3ea89dc

Browse files
authored
Update models.py
fix typo
1 parent b47eb23 commit 3ea89dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ def full_name(self):
334334
"""
335335

336336
full_name_without_version = f'{company_name} - {self.name}'.strip() if self.company else f'{self.name}'.strip()
337-
return f'{full_name_without_version} - {self.version}'.strip() self.version else full_name_without_version
337+
return f'{full_name_without_version} - {self.version}'.strip() if self.version else full_name_without_version
338338

339339
def find_by_full_name(full_name):
340340
"""

0 commit comments

Comments
 (0)