mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-03 10:32:33 +01:00
simple-agent: Fix else block
Due to commit 31ce761469
'else'
block belongs to different if statement.
This commit is contained in:
parent
4c5a846abb
commit
c6a16cd515
@ -34,11 +34,11 @@ class Agent(dbus.service.Object):
|
|||||||
if arg.startswith("Passphrase="):
|
if arg.startswith("Passphrase="):
|
||||||
passphrase = arg.replace("Passphrase=", "", 1)
|
passphrase = arg.replace("Passphrase=", "", 1)
|
||||||
response["Passphrase"] = passphrase
|
response["Passphrase"] = passphrase
|
||||||
else:
|
else:
|
||||||
if self.passphrase:
|
if self.passphrase:
|
||||||
response["Passphrase"] = self.passphrase
|
response["Passphrase"] = self.passphrase
|
||||||
|
|
||||||
return response
|
return response
|
||||||
|
|
||||||
@dbus.service.method("net.connman.iwd.Agent",
|
@dbus.service.method("net.connman.iwd.Agent",
|
||||||
in_signature='o',
|
in_signature='o',
|
||||||
|
Loading…
Reference in New Issue
Block a user