Skip to content
This repository was archived by the owner on Aug 14, 2024. It is now read-only.

Fix weather code regex error - #91

Open
amzon-ex wants to merge 1 commit into
creewick:mainfrom
amzon-ex:weather_fix
Open

Fix weather code regex error#91
amzon-ex wants to merge 1 commit into
creewick:mainfrom
amzon-ex:weather_fix

Conversation

@amzon-ex

@amzon-ex amzon-ex commented Oct 9, 2023

Copy link
Copy Markdown

Fix #89

The regex used on the JSON data fetched doesn't capture terminal key values which do not end with a comma (,). Fixed this to have weather codes displayed as desired before. This may break again due to API changes.

@GatoCRM

GatoCRM commented Oct 9, 2023

Copy link
Copy Markdown

Thanks a lot for the fix!

@dvdgitman

Copy link
Copy Markdown

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WeatherCode0 in the weather widget

3 participants