When running the latest code in the master branch, I get this:
$ sudo ./grub-reboot-picker.py
(grub-reboot-picker.py:23728): libayatana-appindicator-WARNING **: 12:11:02.057: libayatana-appindicator is deprecated. Please use libayatana-appindicator-glib in newly written code.