Sebastian Espei
856a67a474
Add not found header after postprocessing
...
The postprocessing method assumes that the sout data is always delivered in the same format. If the location is not found, the passed format deviates and this then leads to an incorrect behavior => incorrect return value.
Close #729
Close #728
2022-05-13 12:53:22 +02:00
Igor Chubin
d551735021
Handle 404 properly ( #500 , #459 , #372 )
2021-01-02 17:35:01 +01:00
Igor Chubin
ce93b59a9e
minor fix
2020-05-21 13:22:50 +02:00
Igor Chubin
d7afd94c31
v2: fixed bug with location behind polar circle
2020-05-13 10:22:38 +02:00
Igor Chubin
12d3ea2035
view/wttr.py clean up
2020-05-07 09:37:36 +02:00
Igor Chubin
e041280f27
do not pass query to view functions
2020-04-27 20:00:26 +02:00
Igor Chubin
71b3a70e02
view=format
2020-04-25 22:28:28 +02:00
Igor Chubin
d5fae22cde
view/wttr.py: fixed padding
2020-04-25 18:56:27 +02:00
Igor Chubin
7565baaa85
use (query, parsed_query) args for views
2020-04-05 14:18:53 +02:00
Igor Chubin
8855e494cd
cache png using cache.py
2020-04-05 13:52:25 +02:00
Igor Chubin
826cedf1f0
moved wttr.py to lib/view/
2020-04-04 18:04:27 +02:00