Remove type annotation.

This commit is contained in:
Ben Sturmfels 2021-12-03 11:43:01 +11:00
parent 9a06def0e7
commit 889dbcf38c
Signed by: bsturmfels
GPG key ID: 023C05E2C9C068F0

View file

@ -34,5 +34,5 @@ def _handle_uploaded_file(f):
logger.info('Wrote uploaded file to {}.'.format(path)) logger.info('Wrote uploaded file to {}.'.format(path))
def _hash_prefixed_filename(name: str) -> str: def _hash_prefixed_filename(name):
return '{hash:x} {name}'.format(hash=random.getrandbits(32), name=name) return '{hash:x} {name}'.format(hash=random.getrandbits(32), name=name)