aboutsummaryrefslogtreecommitdiff
path: root/tools/EventClients
diff options
context:
space:
mode:
authorVasyl Gello <vasek.gello@gmail.com>2020-06-27 17:00:58 +0300
committerVasyl Gello <vasek.gello@gmail.com>2020-06-28 09:16:53 +0300
commita4c6a78900e683393047cf1d43a56a508a9d292f (patch)
tree483852c065a68408f0669d60e91dd2ff082afb3a /tools/EventClients
parentf76ad6a5ab5170661f401604b21a040443a434e7 (diff)
[LINUX] Fix kodi-ps3remote exceptions
Reported in Debian: * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=962929 * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=962930 Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
Diffstat (limited to 'tools/EventClients')
-rwxr-xr-xtools/EventClients/Clients/PS3BDRemote/ps3_remote.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/EventClients/Clients/PS3BDRemote/ps3_remote.py b/tools/EventClients/Clients/PS3BDRemote/ps3_remote.py
index e902bb8519..7a7fba9e26 100755
--- a/tools/EventClients/Clients/PS3BDRemote/ps3_remote.py
+++ b/tools/EventClients/Clients/PS3BDRemote/ps3_remote.py
@@ -159,7 +159,7 @@ def process_keys(remote, xbmc):
raise e
if datalen == 13:
- keycode = data.encode("hex")[10:12]
+ keycode = data.hex()[10:12]
if keycode == "ff":
xbmc.release_button()
return done