simple-agent: Fix else block

Due to commit 31ce761469 'else'
block belongs to different if statement.
This commit is contained in:
Ravi kumar Veeramally 2015-03-23 13:01:47 +02:00 committed by Denis Kenzior
parent 4c5a846abb
commit c6a16cd515
1 changed files with 4 additions and 4 deletions

View File

@ -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',