From 817ab04941732b881220b76744ade63f98ae9001 Mon Sep 17 00:00:00 2001 From: Tamas Kocsis Date: Fri, 4 Sep 2020 18:29:02 +0200 Subject: [PATCH] Fix private key recover typo --- plugins/Sidebar/SidebarPlugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Sidebar/SidebarPlugin.py b/plugins/Sidebar/SidebarPlugin.py index 96d04e22..4e79839d 100644 --- a/plugins/Sidebar/SidebarPlugin.py +++ b/plugins/Sidebar/SidebarPlugin.py @@ -752,7 +752,7 @@ class UiWebsocketPlugin(object): if site_data.get("privatekey"): return {"error": "This site already has saved privated key"} - address_index = self.site.content_manager.get("content.json", {}).get("address_index") + address_index = self.site.content_manager.contents.get("content.json", {}).get("address_index") if not address_index: return {"error": "No address_index in content.json"}