Fix Bug
This commit is contained in:
parent
b3adba2780
commit
bd5bdea1b1
1 changed files with 2 additions and 2 deletions
|
@ -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
|
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")
|
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)
|
planedPlan = function_getPlanForDay(account["number"], today.year, today.month, today.day)
|
||||||
if(plan["productServiceId"] == planedPlan):
|
if(planedPlan == 42):
|
||||||
logging.debug("Next Day is already at the currect plan: "+str(planedPlan))
|
logging.debug("Today Day is already at the currect plan: "+str(planedPlan))
|
||||||
print("Nothing to Change, plan already set")
|
print("Nothing to Change, plan already set")
|
||||||
else:
|
else:
|
||||||
logging.debug("Next day should be updatedt")
|
logging.debug("Next day should be updatedt")
|
||||||
|
|
Loading…
Reference in a new issue