diff options
Diffstat (limited to 'src/jinja2/bccache.py')
-rw-r--r-- | src/jinja2/bccache.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jinja2/bccache.py b/src/jinja2/bccache.py index ee210ef..3bb61b7 100644 --- a/src/jinja2/bccache.py +++ b/src/jinja2/bccache.py @@ -154,7 +154,7 @@ class BytecodeCache: hash = sha1(name.encode("utf-8")) if filename is not None: - hash.update(f"|{filename}".encode("utf-8")) + hash.update(f"|{filename}".encode()) return hash.hexdigest() |