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")