Skip to content

Commit

Permalink
apply pyupgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
davidism committed Oct 4, 2021
1 parent c287f61 commit ad1ebe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jinja2/bccache.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def get_cache_key(
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()

Expand Down

0 comments on commit ad1ebe3

Please sign in to comment.