fix "logger" is not definied (#297)

Signed-off-by: Furry Chemistry <84753790+aryazakaria01@users.noreply.github.com>
This commit is contained in:
Furry Chemistry 2024-06-30 18:05:15 +07:00 committed by GitHub
parent 5365a62103
commit 7bb610385d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -79,7 +79,7 @@ def calcExpression(text):
except TypeError:
return float(eval(text.replace('(', '*(')))
except Exception as e:
logger.error(e, exc_info=True)
LOGGER.error(e, exc_info=True)
return ""