mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-04-15 23:47:24 +02:00
Fixed RET503 (implicit-return): Missing explicit return at the end of function able to return non-None value
This commit is contained in:
committed by
Joshua Tauberer
parent
c585c1ecf6
commit
845393b6e0
@@ -636,6 +636,7 @@ def print_time_table(labels, data, do_print=True):
|
||||
|
||||
if do_print:
|
||||
print("\n".join(lines))
|
||||
return None
|
||||
else:
|
||||
return lines
|
||||
|
||||
|
||||
Reference in New Issue
Block a user