mddub / urchin-cgm

A graph of your CGM data on a Pebble watch.
MIT License
56 stars 45 forks source link

Hotfix for sometimes-missing statusRecencyFormat pref #61

Closed mddub closed 7 years ago

mddub commented 7 years ago

Sometimes, a version mismatch between the online settings page (pre-#54) and Urchin can cause the statusRecencyFormat preference to be set as "", which causes the watchface to crash. This fixes that preference when it's the empty string, and also makes the watchface more resilient to missing preference data.

Separately, this branch fixes two issues causing CircleCI builds to fail recently (make Python version explicit to get the latest version of pip, which includes needed OpenSSL-related fixes; install the latest ImageMagick, instead of hard-coding the version, which can break the build when it's no longer available).