From 138147bf586757e1caaebcd905387ffcf0a590bd Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Tue, 29 May 2018 21:03:02 +0200 Subject: [PATCH] Compat with python3 --- nautilus-extension/kdeconnect-share.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nautilus-extension/kdeconnect-share.py b/nautilus-extension/kdeconnect-share.py index ba9685341..c17aec631 100644 --- a/nautilus-extension/kdeconnect-share.py +++ b/nautilus-extension/kdeconnect-share.py @@ -113,7 +113,7 @@ class KdeConnectShareExtension(GObject.GObject, Nautilus.MenuProvider): return if len(devices) == 1: - deviceId, deviceName = devices[0], devices[0] + deviceId, deviceName = list(devices.items())[0] item = Nautilus.MenuItem( name='KdeConnectShareExtension::Devices::' + deviceId, label=_("Send to %s via KDE Connect") % deviceName,