diff options
-rw-r--r-- | cmake/scripts/linux/Install.cmake | 2 | ||||
-rwxr-xr-x | tools/EventClients/Clients/PS3BDRemote/ps3_remote.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cmake/scripts/linux/Install.cmake b/cmake/scripts/linux/Install.cmake index 36c02999d6..acfd3ff564 100644 --- a/cmake/scripts/linux/Install.cmake +++ b/cmake/scripts/linux/Install.cmake @@ -199,7 +199,7 @@ if(ENABLE_EVENTCLIENTS) COMPONENT kodi-eventclients-common) # Install kodi-eventclients-common python files - file(WRITE ${CMAKE_BINARY_DIR}/packages/deb/defs.py ICON_PATH="usr/share/pixmaps/${APP_NAME_LC}/") + file(WRITE ${CMAKE_BINARY_DIR}/packages/deb/defs.py ICON_PATH="/usr/share/pixmaps/${APP_NAME_LC}/") install(PROGRAMS ${CMAKE_BINARY_DIR}/packages/deb/defs.py ${CMAKE_SOURCE_DIR}/tools/EventClients/lib/python/__init__.py ${CMAKE_SOURCE_DIR}/tools/EventClients/Clients/PS3BDRemote/ps3_remote.py 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 |