mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-14 16:09:24 +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="):
|
||||
passphrase = arg.replace("Passphrase=", "", 1)
|
||||
response["Passphrase"] = passphrase
|
||||
else:
|
||||
if self.passphrase:
|
||||
response["Passphrase"] = self.passphrase
|
||||
else:
|
||||
if self.passphrase:
|
||||
response["Passphrase"] = self.passphrase
|
||||
|
||||
return response
|
||||
return response
|
||||
|
||||
@dbus.service.method("net.connman.iwd.Agent",
|
||||
in_signature='o',
|
||||
|
Loading…
Reference in New Issue
Block a user