Update ContentManager.py

Everyone should resign they sites, no need for backward compatibility. 🙄
This commit is contained in:
peer-to-peer-network 2020-04-15 17:00:46 +00:00 committed by GitHub
parent 1296afa5ce
commit ffb5053e24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -104,8 +104,6 @@ class ContentManager(object):
for relative_path, info in new_content.get("files", {}).items():
if "blake3" in info:
hash_type = "blake3"
else: # Backward compatibility
hash_type = "sha512"
new_hash = info[hash_type]
if old_content and old_content["files"].get(relative_path): # We have the file in the old content