Skip to content

Commit

Permalink
fix: typo/logic error in get_base_name
Browse files Browse the repository at this point in the history
  • Loading branch information
rjsparks committed Jul 7, 2023
1 parent f306139 commit e6a1a17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ietf/doc/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def get_base_name(self):
if not hasattr(self, '_cached_base_name'):
if self.uploaded_filename:
self._cached_base_name = self.uploaded_filename
if self.type_id == 'rfc':
elif self.type_id == 'rfc':
self._cached_base_name = "%s.txt" % self.canonical_name()
elif self.type_id == 'draft':
if self.is_dochistory():
Expand Down

0 comments on commit e6a1a17

Please sign in to comment.