mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 20:52:42 +01:00
Fixed an exception on exit.
This commit is contained in:
parent
cc15862d65
commit
bea33e53d6
@ -202,7 +202,7 @@ class ValidLogLevel(registry.String):
|
||||
self.setValue(level)
|
||||
|
||||
def __str__(self):
|
||||
level = logging.getLevelName(self.value)
|
||||
level = str(logging.getLevelName(self.value))
|
||||
if level.startswith('Level'):
|
||||
level = level.split()[-1]
|
||||
return level
|
||||
|
Loading…
Reference in New Issue
Block a user