This commit is contained in:
Kekskurse 2019-07-11 15:17:59 +02:00
parent b3adba2780
commit bd5bdea1b1
1 changed files with 2 additions and 2 deletions

View File

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