mirror of
https://github.com/mlesniew/elicznik.git
synced 2025-12-21 21:33:13 +01:00
Remove unnecessary assigment
This commit is contained in:
committed by
Michał Leśniewski
parent
74cef6ee51
commit
fdec5f26a3
@@ -52,7 +52,6 @@ class ELicznik:
|
|||||||
for element in data:
|
for element in data:
|
||||||
date = element.get("Date")
|
date = element.get("Date")
|
||||||
hour = int(element.get("Hour"))
|
hour = int(element.get("Hour"))
|
||||||
value = float(element.get("EC"))
|
|
||||||
# TODO: There's also an "Extra" field, which seems to be set to be set to "T" only for the one extra hour
|
# TODO: There's also an "Extra" field, which seems to be set to be set to "T" only for the one extra hour
|
||||||
# when switching from CEST to CET (e.g. 3 AM on 2021-10-31)
|
# when switching from CEST to CET (e.g. 3 AM on 2021-10-31)
|
||||||
timestamp = datetime.datetime.strptime(date, "%Y-%m-%d")
|
timestamp = datetime.datetime.strptime(date, "%Y-%m-%d")
|
||||||
|
|||||||
Reference in New Issue
Block a user