parent
9a5410983d
commit
f0bd44a81c
|
@ -656,7 +656,8 @@ class BServer:
|
||||||
qr_format="png"
|
qr_format="png"
|
||||||
fn = (box.__class__.__name__)
|
fn = (box.__class__.__name__)
|
||||||
start_response(status, http_headers)
|
start_response(status, http_headers)
|
||||||
qrcode = get_qrcode(self.getURL(environ), qr_format)
|
url = re.sub(r"&render=[^&]*", "" ,self.getURL(environ))
|
||||||
|
qrcode = get_qrcode(url, qr_format)
|
||||||
return (qrcode,)
|
return (qrcode,)
|
||||||
|
|
||||||
if box.format != "svg" or render == "2":
|
if box.format != "svg" or render == "2":
|
||||||
|
|
Loading…
Reference in New Issue