Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
amadanmath committed Jun 28, 2021
1 parent e297176 commit 23f8ffb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server/src/annotation.py
Expand Up @@ -1284,7 +1284,6 @@ def __init__(self, document=None, text=None, read_only=False, lock_dir=None, sou
if document.endswith('.txt'):
textfile_path = document
else:
textfile_path = remove_known_suffix(document, KNOWN_FILE_SUFF)
# Do we have a known extension?
_, file_ext = splitext(document)
if not file_ext or file_ext not in KNOWN_FILE_SUFF:
Expand Down

0 comments on commit 23f8ffb

Please sign in to comment.