fixed difflib import

This commit is contained in:
bwees
2022-07-16 15:48:43 -04:00
parent 151c2dab3a
commit 5c9b7353d4
+1 -1
View File
@@ -1,6 +1,5 @@
import os
import uuid as uuid_builder
import difflib
minimum_seconds_recheck_time = int(os.getenv('MINIMUM_SECONDS_RECHECK_TIME', 60))
@@ -221,6 +220,7 @@ class model(dict):
# uses similar algorithm to customSequenceMatcher in diff.py
# Returns a dict of diff types and wether they are present in the diff
def get_diff_types(self, new_text):
import difflib
diff_types = {
'add': False,