Compat with python3
This commit is contained in:
parent
18e799612d
commit
138147bf58
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ class KdeConnectShareExtension(GObject.GObject, Nautilus.MenuProvider):
|
||||||
return
|
return
|
||||||
|
|
||||||
if len(devices) == 1:
|
if len(devices) == 1:
|
||||||
deviceId, deviceName = devices[0], devices[0]
|
deviceId, deviceName = list(devices.items())[0]
|
||||||
item = Nautilus.MenuItem(
|
item = Nautilus.MenuItem(
|
||||||
name='KdeConnectShareExtension::Devices::' + deviceId,
|
name='KdeConnectShareExtension::Devices::' + deviceId,
|
||||||
label=_("Send to %s via KDE Connect") % deviceName,
|
label=_("Send to %s via KDE Connect") % deviceName,
|
||||||
|
|
Loading…
Reference in a new issue