Cosmetic changes

This commit is contained in:
Unrud
2020-01-19 18:13:05 +01:00
parent e07df9fd1d
commit 866aa34f54
7 changed files with 19 additions and 23 deletions

View File

@@ -195,7 +195,7 @@ def get_etag(text):
"""
etag = sha256()
etag.update(text.encode("utf-8"))
etag.update(text.encode())
return '"%s"' % etag.hexdigest()