Skip to content

Commit

Permalink
Fix impressively boneheaded typo
Browse files Browse the repository at this point in the history
  • Loading branch information
thatandromeda committed Oct 15, 2021
1 parent 577249c commit ebec35f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hamlet/common/document.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def factory(fp):
:return: document object
"""
mimetype = magic.from_buffer(fp.read(8192), mime=True)
if mimetype in ["text/plain", "text/x-c'"]:
if mimetype in ["text/plain", "text/x-c"]:
return TextDocument(fp)
elif mimetype in ["application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"application/zip",
Expand Down

0 comments on commit ebec35f

Please sign in to comment.