Adaption to new logging
This commit is contained in:
parent
460a086149
commit
2fad968a8d
@ -32,8 +32,11 @@ import select
|
||||
import sys
|
||||
import time
|
||||
|
||||
logger_name = 'KEYBOARD'
|
||||
logger = logging.getLogger(logger_name)
|
||||
try:
|
||||
from config import APP_NAME as ROOT_LOGGER_NAME
|
||||
except ImportError:
|
||||
ROOT_LOGGER_NAME = 'root'
|
||||
logger = logging.getLogger(ROOT_LOGGER_NAME).getChild(__name__)
|
||||
|
||||
__DESCRIPTION__ = """The Module {\\tt %s} is designed to fetch data from a keyboatd (e.g. RFID-Reader).
|
||||
For more Information read the sphinx documentation.""" % __name__.replace('_', '\_')
|
||||
|
Loading…
x
Reference in New Issue
Block a user