fix bare return
This commit is contained in:
parent
f2214ee9e7
commit
5ac2a0305a
@ -94,6 +94,7 @@ class LogLevel(Options):
|
|||||||
for level in reversed(cls.level_name_map):
|
for level in reversed(cls.level_name_map):
|
||||||
if level_int >= level:
|
if level_int >= level:
|
||||||
return cls.level_name_map[level]
|
return cls.level_name_map[level]
|
||||||
|
return cls.notset_name
|
||||||
|
|
||||||
|
|
||||||
# fmt: off
|
# fmt: off
|
||||||
|
Loading…
Reference in New Issue
Block a user