From 23f8ffb996051f5139280c24cd851f29f2afa273 Mon Sep 17 00:00:00 2001 From: Goran Topic Date: Mon, 28 Jun 2021 18:08:42 +0900 Subject: [PATCH] Fix typo --- server/src/annotation.py | 1 - 1 file changed, 1 deletion(-) diff --git a/server/src/annotation.py b/server/src/annotation.py index 1a1b3f71..7e96f471 100644 --- a/server/src/annotation.py +++ b/server/src/annotation.py @@ -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: