mirror of
https://github.com/basicswap/basicswap.git
synced 2025-01-22 02:24:31 +00:00
ui: Fix missing post_string on page_error
This commit is contained in:
parent
58a2707526
commit
5738cdd825
1 changed files with 2 additions and 2 deletions
|
@ -132,7 +132,7 @@ class HttpHandler(BaseHTTPRequestHandler):
|
||||||
**args_dict,
|
**args_dict,
|
||||||
), 'UTF-8')
|
), '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')
|
template = env.get_template('info.html')
|
||||||
swap_client = self.server.swap_client
|
swap_client = self.server.swap_client
|
||||||
summary = swap_client.getSummary()
|
summary = swap_client.getSummary()
|
||||||
|
@ -142,7 +142,7 @@ class HttpHandler(BaseHTTPRequestHandler):
|
||||||
'summary': summary,
|
'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')
|
template = env.get_template('error.html')
|
||||||
swap_client = self.server.swap_client
|
swap_client = self.server.swap_client
|
||||||
summary = swap_client.getSummary()
|
summary = swap_client.getSummary()
|
||||||
|
|
Loading…
Reference in a new issue