From 4bdd28b8834b817da32065143ba455a6904aaa31 Mon Sep 17 00:00:00 2001 From: owl73 Date: Tue, 23 Jun 2020 07:41:07 -0400 Subject: [PATCH] Fix current time output of pngs --- lib/wttr_srv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wttr_srv.py b/lib/wttr_srv.py index fda492b..e569eed 100644 --- a/lib/wttr_srv.py +++ b/lib/wttr_srv.py @@ -221,7 +221,7 @@ def _response(parsed_query, query, fast_mode=False): # # output = fmt.png.render_ansi( # output, options=parsed_query) - result = TASKS.spawn(fmt.png.render_ansi, output, options=parsed_query) + result = TASKS.spawn(fmt.png.render_ansi, cache._update_answer(output), options=parsed_query) output = result.get() else: if query.get('days', '3') != '0' \