openmeteo / enhydris

A database with a web interface for the storage and management of hydro/meteorological measurements and time series
GNU Affero General Public License v3.0
16 stars 11 forks source link

Fix crash in invalid timeseries URL (fixes #493) #495

Closed Shrhawk closed 1 year ago

Shrhawk commented 1 year ago

Checklist:

aptiko commented 1 year ago

Fixed in ce1428db494907f128989e92d0c55712591e672d.

lookup_value_regex = "\d+"'

This was also incorrect (runtests found it); the correct was r"\d+", so I fixed it in the commit.