Skip to content

Commit 3ff6a22

Browse files
authored
Update models.py
fix typo 2
1 parent 3ae82d0 commit 3ff6a22

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

320-
full_name_without_version = f'{company_name} - {self.name}'.strip() if self.company else f'{self.name}'.strip()
320+
full_name_without_version = f'{company.name} - {self.name}'.strip() if self.company else f'{self.name}'.strip()
321321
return f'{full_name_without_version} - {self.version}'.strip() if self.version else full_name_without_version
322322

323323
def find_by_full_name(full_name):

0 commit comments

Comments
 (0)