From bd5bdea1b133c2f6b0ccde5644a6d30f582968ee Mon Sep 17 00:00:00 2001 From: Kekskurse Date: Thu, 11 Jul 2019 15:17:59 +0200 Subject: [PATCH] Fix Bug --- server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.py b/server.py index f76dc99..a7944ae 100644 --- a/server.py +++ b/server.py @@ -192,8 +192,8 @@ def function_updateAccountsAtFunk(): if currentPlan == 42: # Wenn aktuell eine pause ist darf das update erst am selben tag erfolgen wie der neue Plan gültug ist logging.debug("Account is in a Break, updates will be called at the day the new Plan should work") planedPlan = function_getPlanForDay(account["number"], today.year, today.month, today.day) - if(plan["productServiceId"] == planedPlan): - logging.debug("Next Day is already at the currect plan: "+str(planedPlan)) + if(planedPlan == 42): + logging.debug("Today Day is already at the currect plan: "+str(planedPlan)) print("Nothing to Change, plan already set") else: logging.debug("Next day should be updatedt")