From 5738cdd825a1a2c8a9a989b46c8773f6e7175302 Mon Sep 17 00:00:00 2001 From: tecnovert Date: Tue, 11 Oct 2022 08:22:13 +0200 Subject: [PATCH] ui: Fix missing post_string on page_error --- basicswap/http_server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/basicswap/http_server.py b/basicswap/http_server.py index 03a35aa..7893656 100644 --- a/basicswap/http_server.py +++ b/basicswap/http_server.py @@ -132,7 +132,7 @@ class HttpHandler(BaseHTTPRequestHandler): **args_dict, ), 'UTF-8') - def page_info(self, info_str, post_string): + def page_info(self, info_str, post_string=None): template = env.get_template('info.html') swap_client = self.server.swap_client summary = swap_client.getSummary() @@ -142,7 +142,7 @@ class HttpHandler(BaseHTTPRequestHandler): 'summary': summary, }) - def page_error(self, error_str, post_string): + def page_error(self, error_str, post_string=None): template = env.get_template('error.html') swap_client = self.server.swap_client summary = swap_client.getSummary()