From 85aa5efb127db17e2c6604c8f030c0cf372f53f2 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sat, 5 Nov 2016 15:37:30 +0000 Subject: [PATCH] Rename typo s/fb/fd/ in remote_control. --- src/remote_control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/remote_control.py b/src/remote_control.py index a68f2527c..7424170e4 100644 --- a/src/remote_control.py +++ b/src/remote_control.py @@ -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]