Fix a bug in the device settings upload code

Thanks to killefiz in #gpodder for reporting
this issue with a device settings upload.
This commit is contained in:
Thomas Perl 2010-02-24 22:44:41 +01:00
parent 1e82eb1e8d
commit c08c111254
1 changed files with 1 additions and 1 deletions

View File

@ -493,7 +493,7 @@ class MygPoClient(object):
log('Device settings uploaded.', sender=self)
return True
except Exception, e:
log('Cannot update device %s: %s', uid, str(e), sender=self, traceback=True)
log('Cannot update device %s: %s', self.device_id, str(e), sender=self, traceback=True)
return False
def get_devices(self):