bugfix visualize module

datetime.datetime.now() is incorrectly accessing the datetime class
This commit is contained in:
Normann 2024-10-04 02:05:46 +02:00 committed by Andreas
parent 411a843faf
commit f10b64e7c6

View File

@ -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)