mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-04-19 08:55:15 +00:00
bugfix visualize module
datetime.datetime.now() is incorrectly accessing the datetime class
This commit is contained in:
parent
411a843faf
commit
f10b64e7c6
@ -110,7 +110,7 @@ def visualisiere_ergebnisse(
|
||||
|
||||
plt.figure(figsize=(14, 10))
|
||||
|
||||
if ist_dst_wechsel(datetime.datetime.now()):
|
||||
if ist_dst_wechsel(datetime.now()):
|
||||
hours = np.arange(start_hour, prediction_hours - 1)
|
||||
else:
|
||||
hours = np.arange(start_hour, prediction_hours)
|
||||
|
Loading…
x
Reference in New Issue
Block a user