Removed print statements
This commit is contained in:
parent
310cfb1d33
commit
9c05a951f0
@ -30,7 +30,6 @@ class EngieAPI:
|
||||
try:
|
||||
with open("EngieCache.json", "r") as f:
|
||||
cache = json.load(f)
|
||||
print(cache)
|
||||
except FileNotFoundError:
|
||||
cache = {}
|
||||
|
||||
@ -54,7 +53,6 @@ class EngieAPI:
|
||||
|
||||
values = []
|
||||
for j in res.json()[0]["Points"]:
|
||||
print(j)
|
||||
# check if the Date is the same as the one requested, attention to the timezone
|
||||
if datetime.strptime(j["Date"], date_format).date().strftime(
|
||||
"%Y-%m-%d"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user