Skip to content

Commit e737fa7

Browse files
committed
Fixed an incorrect list of string interpolation arguments.
- Legacy-Id: 9918
1 parent cdb0d24 commit e737fa7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/submit/parsers/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,4 @@ def parse_file_type(self, ext, expected):
7777
content = self.fd.file.read(4096)
7878
mimetype = magic.from_buffer(content, mime=True)
7979
if not mimetype == expected:
80-
self.parsed_info.add_error('Expected an %s file of type "%s", found one of type "%s"' % (expected, mimetype))
80+
self.parsed_info.add_error('Expected an %s file of type "%s", found one of type "%s"' % (ext.upper(), expected, mimetype))

0 commit comments

Comments
 (0)