Break Fix
This commit is contained in:
parent
2491981f4d
commit
f1a12892f6
1 changed files with 5 additions and 1 deletions
|
@ -81,7 +81,11 @@ def function_updateAccount(number, api = None):
|
|||
api = FunkAPI(res[0], res[1])
|
||||
|
||||
usage = api.getData()["data"]["me"]["customerProducts"][0]["mobileNumbers"][0]["usage"]["usedDataPercentage"]
|
||||
plan = getCurrentPlan(api)["productServiceId"]
|
||||
plan = getCurrentPlan(api)
|
||||
if plan == None:
|
||||
plan = 42;
|
||||
else:
|
||||
plan = plan["productServiceId"]
|
||||
|
||||
cur.execute("INSERT INTO updates VALUES (%s, %s, '%s', '%s')" % (
|
||||
number,
|
||||
|
|
Loading…
Reference in a new issue