while not valid_credentials:
if result == gtk.RESPONSE_OK:
uid = uidEntry.get_text()
- api_key = apiEntry.get_text()
+ # auth() fails if api_key has lower-case characters
+ api_key = apiEntry.get_text().upper()
try:
validation.uid(uid)
def update_live_sp(self):
- print 'tick'
self.live_sp_val = self.live_sp_val + self.spps * self.UPDATE_INTERVAL
self.live_sp.set_label("<small><b>Total SP:</b> %s</small>" %
util.comma(int(self.live_sp_val)))