Commit 03573490 authored by Albert Vaca Cintora's avatar Albert Vaca Cintora

Compat with python3

parent 9dd7f015
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment