diff --git a/lnbits/core/templates/core/wallet.html b/lnbits/core/templates/core/wallet.html
index f1d4e42a..e641a4ca 100644
--- a/lnbits/core/templates/core/wallet.html
+++ b/lnbits/core/templates/core/wallet.html
@@ -1,15 +1,12 @@
{% extends "base.html" %}
-{% from "macros.jinja" import window_vars with context
-%}
+{% from "macros.jinja" import window_vars with context %}
{% block scripts %} {{ window_vars(user, wallet) }}
{% endblock %}
-{% block title %}
-{{ wallet.name }} - {{ SITE_TITLE }}
-{% endblock %}
+{% block title %} {{ wallet.name }} - {{ SITE_TITLE }} {% endblock %}
{% block page %}
diff --git a/lnbits/extensions/lnurlp/lnurl.py b/lnbits/extensions/lnurlp/lnurl.py
index ed6a0aad..331eb047 100644
--- a/lnbits/extensions/lnurlp/lnurl.py
+++ b/lnbits/extensions/lnurlp/lnurl.py
@@ -79,6 +79,10 @@ async def api_lnurl_callback(link_id):
extra={"tag": "lnurlp", "link": link.id, "comment": comment},
)
- resp = LnurlPayActionResponse(pr=payment_request, success_action=link.success_action(payment_hash), routes=[],)
+ resp = LnurlPayActionResponse(
+ pr=payment_request,
+ success_action=link.success_action(payment_hash),
+ routes=[],
+ )
return jsonify(resp.dict()), HTTPStatus.OK
diff --git a/lnbits/extensions/withdraw/static/js/index.js b/lnbits/extensions/withdraw/static/js/index.js
index f5ed08e8..3d80641e 100644
--- a/lnbits/extensions/withdraw/static/js/index.js
+++ b/lnbits/extensions/withdraw/static/js/index.js
@@ -118,7 +118,8 @@ new Vue({
this.qrCodeDialog.data = _.clone(link)
console.log(this.qrCodeDialog.data)
- this.qrCodeDialog.data.url = window.location.protocol + "//" + window.location.host
+ this.qrCodeDialog.data.url =
+ window.location.protocol + '//' + window.location.host
this.qrCodeDialog.show = true
},
openUpdateDialog: function (linkId) {
diff --git a/lnbits/extensions/withdraw/templates/withdraw/index.html b/lnbits/extensions/withdraw/templates/withdraw/index.html
index 650197a3..9e142a49 100644
--- a/lnbits/extensions/withdraw/templates/withdraw/index.html
+++ b/lnbits/extensions/withdraw/templates/withdraw/index.html
@@ -287,14 +287,13 @@
-
- {% raw %}
+ {% raw %}
ID: {{ qrCodeDialog.data.id }}
diff --git a/lnbits/extensions/withdraw/views_api.py b/lnbits/extensions/withdraw/views_api.py
index 52b85251..c37a318a 100644
--- a/lnbits/extensions/withdraw/views_api.py
+++ b/lnbits/extensions/withdraw/views_api.py
@@ -187,10 +187,7 @@ async def api_lnurl_callback(unique_hash):
extra={"tag": "withdraw"},
)
- changes = {
- "open_time": link.wait_time + now,
- "used": link.used + 1
- }
+ changes = {"open_time": link.wait_time + now, "used": link.used + 1}
update_withdraw_link(link.id, **changes)
except ValueError as e: