Rename typo s/fb/fd/ in remote_control.

This commit is contained in:
Emmanuel Gil Peyrot 2016-11-05 15:37:30 +00:00
parent 6b22dd6ade
commit 85aa5efb12
1 changed files with 1 additions and 1 deletions

View File

@ -909,7 +909,7 @@ class SignalObject(dbus.service.Object):
else:
invalid_file = True
if not invalid_file and filesize < 16384:
with open(picture, 'rb') as fb:
with open(picture, 'rb') as fd:
data = fd.read()
avatar = base64.b64encode(data).decode('utf-8')
avatar_mime_type = mimetypes.guess_type(picture)[0]