micropython-ota-updater icon indicating copy to clipboard operation
micropython-ota-updater copied to clipboard

Improve latest version error message

Open JackBurdick opened this issue 3 years ago • 1 comments

No worries if you don't want to include. Please double-check on your end.

This was my first time using a release and this error message could have saved me a bit of time.

NOTE: I was surprised to find that if I used latest_release.json()['tag_name'] twice in the same block I received an error (which is why gh_json = latest_release.json() exists). I then changed file_list_json = file_list.json() in _download_all_files to match -- but will take out if desired.

I (my fixer) also removed a couple extra spaces at the end of lines and I decided to include

JackBurdick avatar Mar 18 '21 03:03 JackBurdick

Thx for this! I will soon have a look, test it and merge it then!

rdehuyss avatar May 06 '21 16:05 rdehuyss