Skip to content

Update fetch-rates.py#160

Open
joshwhittick wants to merge 1 commit intomainfrom
joshwhittick-data-list-checking
Open

Update fetch-rates.py#160
joshwhittick wants to merge 1 commit intomainfrom
joshwhittick-data-list-checking

Conversation

@joshwhittick
Copy link
Contributor

Check data is a list before trying to use it so it doesn't crash completely

📌 Description

Python code updated to check that each json file contains a list of dicts for each crypto as it should.

✅ Changes

Check item is a list as it should be - potentially is hitting a daily rate limit and resulting in a string which is causing the issue.

🎯 How to Test

We will see when the next Actions runs

Check data is a list before trying to use it so it doesn't crash completely
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant