mirror of https://github.com/MISP/misp-modules
debug removed
parent
8285ff324f
commit
3e25428978
|
@ -29,8 +29,7 @@ def get_consumption(output=False):
|
||||||
jreq = req.json()
|
jreq = req.json()
|
||||||
minute = str(jreq['Data']['calls_left']['minute'])
|
minute = str(jreq['Data']['calls_left']['minute'])
|
||||||
hour = str(jreq['Data']['calls_left']['hour'])
|
hour = str(jreq['Data']['calls_left']['hour'])
|
||||||
except Exception as e:
|
except:
|
||||||
print(e)
|
|
||||||
minute = str(-1)
|
minute = str(-1)
|
||||||
hour = str(-1)
|
hour = str(-1)
|
||||||
# Debug out for the console
|
# Debug out for the console
|
||||||
|
|
Loading…
Reference in New Issue