From 2a124c423b90424e4d5d765c39932c3ba33fe1b5 Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Fri, 12 Jul 2019 17:31:11 -0500 Subject: [PATCH] fixed broken plugin blueprint loading --- onionr/apiservers/private/__init__.py | 4 ++-- onionr/static-data/www/private/index.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/onionr/apiservers/private/__init__.py b/onionr/apiservers/private/__init__.py index 7154c9f6..938ce384 100644 --- a/onionr/apiservers/private/__init__.py +++ b/onionr/apiservers/private/__init__.py @@ -58,10 +58,10 @@ class PrivateAPI: self.httpServer = '' self.queueResponse = {} + self.get_block_data = httpapi.apiutils.GetBlockData(self) onionrInst.setClientAPIInst(self) register_private_blueprints.register_private_blueprints(self, app) - httpapi.load_plugin_blueprints(self, app) - self.get_block_data = httpapi.apiutils.GetBlockData(self) + httpapi.load_plugin_blueprints(app) self.httpServer = WSGIServer((self.host, bindPort), app, log=None, handler_class=httpapi.fdsafehandler.FDSafeHandler) self.httpServer.serve_forever() diff --git a/onionr/static-data/www/private/index.html b/onionr/static-data/www/private/index.html index c534f115..e747e46e 100755 --- a/onionr/static-data/www/private/index.html +++ b/onionr/static-data/www/private/index.html @@ -136,7 +136,7 @@ 🕰️ Uptime: -
Connections
+
Session Connections
️ Last Received: None since start