Tiny back-end improvement
This commit is contained in:
		| @@ -178,10 +178,10 @@ def generate_image(): | |||||||
|         hour_gap = 3 |         hour_gap = 3 | ||||||
|  |  | ||||||
|       """Prepare timings for forecasts""" |       """Prepare timings for forecasts""" | ||||||
|       fc1 = now.replace(hours = + hour_gap) |       fc1 = now.replace(hours = + hour_gap).floor('hour') | ||||||
|       fc2 = now.replace(hours = + hour_gap + 3) |       fc2 = now.replace(hours = + hour_gap + 3).floor('hour') | ||||||
|       fc3 = now.replace(hours = + hour_gap + 6) |       fc3 = now.replace(hours = + hour_gap + 6).floor('hour') | ||||||
|       fc4 = now.replace(hours = + hour_gap + 9) |       fc4 = now.replace(hours = + hour_gap + 9).floor('hour') | ||||||
|  |  | ||||||
|       """Prepare forecast objects for the specified timings""" |       """Prepare forecast objects for the specified timings""" | ||||||
|       forecast_fc1 = forecast.get_weather_at(fc1.datetime) |       forecast_fc1 = forecast.get_weather_at(fc1.datetime) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user