From 6143233ffda28e8cd05ff9644732d7450aa04d8d Mon Sep 17 00:00:00 2001 From: Kushal Das Date: Mon, 12 Aug 2019 20:33:58 +0530 Subject: [PATCH] Fixes small syntax typo --- admin/securedrop_admin/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/securedrop_admin/__init__.py b/admin/securedrop_admin/__init__.py index f016b890102..c604fde6d92 100755 --- a/admin/securedrop_admin/__init__.py +++ b/admin/securedrop_admin/__init__.py @@ -596,14 +596,14 @@ def find_or_generate_new_torv3_keys(args): app_ssh_public_key, app_ssh_private_key = generate_new_v3_keys() # For mon ssh service mon_ssh__public_key, mon_ssh_private_key = generate_new_v3_keys() - tor_v3_service_info = dict( + tor_v3_service_info = { "app_journalist_public_key": app_journalist_public_key, "app_journalist_private_key": app_journalist_private_key, "app_ssh_public_key": app_ssh_public_key, "app_ssh_private_key": app_ssh_private_key, "mon_ssh_public_key": mon_public_ssh_key, "mon_ssh_private_key": mon_ssh_private_key, - ) + } with open(secret_key_path, 'w') as fobj: json.dump(tor_v3_service_info, fobj, indent=4)