Removed print statements

This commit is contained in:
2023-05-19 19:26:10 +02:00
parent 310cfb1d33
commit 9c05a951f0
2 changed files with 1 additions and 3 deletions

View File

@@ -30,7 +30,6 @@ class EngieAPI:
try: try:
with open("EngieCache.json", "r") as f: with open("EngieCache.json", "r") as f:
cache = json.load(f) cache = json.load(f)
print(cache)
except FileNotFoundError: except FileNotFoundError:
cache = {} cache = {}
@@ -54,7 +53,6 @@ class EngieAPI:
values = [] values = []
for j in res.json()[0]["Points"]: for j in res.json()[0]["Points"]:
print(j)
# check if the Date is the same as the one requested, attention to the timezone # check if the Date is the same as the one requested, attention to the timezone
if datetime.strptime(j["Date"], date_format).date().strftime( if datetime.strptime(j["Date"], date_format).date().strftime(
"%Y-%m-%d" "%Y-%m-%d"

View File

@@ -2,6 +2,6 @@ from setuptools import find_packages, setup
setup( setup(
name="EngieApi", name="EngieApi",
version="0.1.2", version="0.1.3",
packages=find_packages(), packages=find_packages(),
) )