Update views.py

This commit is contained in:
Arc 2020-02-12 13:42:25 +00:00 committed by GitHub
parent 331905b8a9
commit dab238e182
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -156,6 +156,6 @@ def print_qr(urlstr):
for d in range(len(randar)):
url = url_for("withdraw.api_lnurlfetch", _external=True, urlstr=urlstr, parstr=fauid, rand=randar[d])
lnurlar.append(lnurl_encode(url.replace("http", "https")))
lnurlar.append(lnurl_encode(url.replace("http://", "https://")))
return render_template("withdraw/print.html", lnurlar=lnurlar, user_fau=user_fau[0],)