fix logger is not defined

This commit is contained in:
Ace 2020-11-30 08:59:21 +01:00 committed by GitHub
parent 7cd78dcdd0
commit a2e8ccea2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,6 +56,8 @@ logging.basicConfig(
]
)
filename = os.path.basename(__file__).split('.py')[0]
logger = logging.getLogger(filename)
# TODO: fix issue with non-render mode requiring SPI
# TODO: autostart -> supervisor?