Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Nicholas Rempel <[email protected]>
  • Loading branch information
Nicholas Rempel committed May 8, 2020
1 parent d53fb6f commit 7149abf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 6 additions & 2 deletions demo/runners/faber.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,12 @@ async def main(

qr = QRCode()
qr.add_data(connection["invitation_url"])
log_msg("Use the following JSON to accept the invite from another demo agent. Or use the QR code to connect from a mobile agent.")
log_msg(json.dumps(connection["invitation"]), label="Invitation Data:", color=None)
log_msg(
"Use the following JSON to accept the invite from another demo agent. Or use the QR code to connect from a mobile agent."
)
log_msg(
json.dumps(connection["invitation"]), label="Invitation Data:", color=None
)
qr.print_ascii(invert=True)

log_msg("Waiting for connection...")
Expand Down
4 changes: 3 additions & 1 deletion demo/runners/support/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,9 @@ async def create_and_publish_revocation_registry(

if os.getenv("PUBLIC_TAILS_URL"):
tails_file_url = f"{self.public_tails_url}/{revocation_registry_id}"
tails_file_external_url = f"{self.public_tails_url}/{revocation_registry_id}"
tails_file_external_url = (
f"{self.public_tails_url}/{revocation_registry_id}"
)
elif RUN_MODE == "pwd":
tails_file_external_url = f"http://{self.external_host}".replace(
"{PORT}", str(self.admin_port)
Expand Down

0 comments on commit 7149abf

Please sign in to comment.