Skip to content

Commit a018e97

Browse files
committed
black
1 parent d0ed9a0 commit a018e97

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mergin/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ def bytes_to_human_size(bytes: int):
296296
else:
297297
return f"{round( bytes / 1024.0 / 1024.0 / 1024.0 / 1024.0, precision )} TB"
298298

299+
299300
def cleanup_tmp_dir(mp, tmp_dir: tempfile.TemporaryDirectory):
300301
"""
301302
Remove temporary from tempfile.TemporaryDirectory instance
@@ -309,4 +310,4 @@ def cleanup_tmp_dir(mp, tmp_dir: tempfile.TemporaryDirectory):
309310
pass # Ignore the error and continue
310311
except Exception as e:
311312
mp.log.error(f"Error during tmp dir cleanup: {tmp_dir.name}: {e}")
312-
pass # Ignore the error and continue
313+
pass # Ignore the error and continue

0 commit comments

Comments
 (0)