rolfberkenbosch / meteoalert-api

MIT License
12 stars 9 forks source link

Syntax error while using on python 2.7? #32

Open pskowronek opened 9 months ago

pskowronek commented 9 months ago

I tried to bump version of this to 0.3.0 in my project but it failed with:

File "meteoalertapi/meteoalertapi.py", line 49
Oct  7 20:20:51 lego run.sh[544]:     if re.search(rf"{self.province}", entry.get('cap:areaDesc'), re.IGNORECASE) == None:
Oct  7 20:20:51 lego run.sh[544]:                                                    ^
Oct  7 20:20:51 lego run.sh[544]: SyntaxError: invalid syntax

Version 0.2.0 worked well. Python 2.7.16.