diff --git a/app.py b/app.py index 8c3fff8..e9ee6b2 100644 --- a/app.py +++ b/app.py @@ -20,7 +20,7 @@ error_messages = { GROCY_URL = os.getenv('GROCY_URL') GROCY_API_KEY = os.getenv('GROCY_API_KEY') GROCY_PORT = os.getenv('GROCY_PORT') -CASHBOX_USERID = os.getenv('CASHBOX_USER_ID') +CASHBOX_USERID = int(os.getenv('CASHBOX_USER_ID')) g = Grocy(GROCY_URL, GROCY_API_KEY, port=GROCY_PORT)