Remove type annotation.
This commit is contained in:
parent
9a06def0e7
commit
889dbcf38c
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue