mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-03 00:07:05 +00:00
Fixed RET505 (superfluous-else-return): Unnecessary else
after return
statement
This commit is contained in:
parent
7e0015ed84
commit
1438be290a
@ -109,8 +109,7 @@ def sizeof_fmt(num):
|
||||
if abs(num) < 1024.0:
|
||||
if abs(num) > 99:
|
||||
return f"{num:3.0f}{unit}"
|
||||
else:
|
||||
return f"{num:2.1f}{unit}"
|
||||
return f"{num:2.1f}{unit}"
|
||||
|
||||
num /= 1024.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user