Commit e113108e by Marten Ringwelski

Fix return type

parent 91aa01ff
......@@ -50,7 +50,7 @@ def create_dir_for_file(file_path: Union[str, Path]) -> None:
Path(file_path).resolve().parent.mkdir(parents=True, exist_ok=True)
def human_readable_file_size(size_in_bytes: int) -> None:
def human_readable_file_size(size_in_bytes: int) -> str:
'''
Returns a nicly human readable file size
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment