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
|
||||
|
||||
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,
|
||||
|
|
Loading…
Reference in a new issue