We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5475ec commit 3da8a27Copy full SHA for 3da8a27
latextools/utils/cache.py
@@ -50,9 +50,7 @@ def hash_digest(text):
50
Arguments:
51
text -- the text for which the digest should be created
52
"""
53
- text_encoded = text.encode("utf8")
54
- hash_result = hashlib.md5(text_encoded)
55
- return hash_result.hexdigest()
+ return hashlib.md5(text.encode("utf-8")).hexdigest()
56
57
58
def cache_local(tex_root, key, func):
0 commit comments