Remove type annotation.

This commit is contained in:
Ben Sturmfels 2021-12-03 11:43:01 +11:00
parent 93fb48e3e3
commit 9cad57457a

View file

@ -34,5 +34,5 @@ def _handle_uploaded_file(f):
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)