fix _levelNames error

This commit is contained in:
Jakobus Schürz 2021-10-02 20:08:52 +02:00
parent 1504a33496
commit a6205344b1

View file

@ -79,7 +79,7 @@ class App(object):
pass
else:
try:
symbolic = logging._levelNames[loglevel]
symbolic = logging._nameToLevel[loglevel]
except KeyError:
log.warning(
'Ignored invalid loglevel configuration: %r',