Skip to content

Commit 5022fd8

Browse files
authored
Update models.py
fix typo 2
1 parent 3ea89dc commit 5022fd8

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
@@ -333,7 +333,7 @@ def full_name(self):
333333
An Authoring Tool has at least a name; company and version are optional.
334334
"""
335335

336-
full_name_without_version = f'{company_name} - {self.name}'.strip() if self.company else f'{self.name}'.strip()
336+
full_name_without_version = f'{company.name} - {self.name}'.strip() if self.company else f'{self.name}'.strip()
337337
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):

0 commit comments

Comments
 (0)