mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Fixed a KeyError in the banktransfer plugin
This commit is contained in:
@@ -53,7 +53,6 @@ class BankTransfer(BasePaymentProvider):
|
||||
def order_control_render(self, request, order) -> str:
|
||||
if order.payment_info:
|
||||
payment_info = json.loads(order.payment_info)
|
||||
payment_info['amount'] /= 100
|
||||
else:
|
||||
payment_info = None
|
||||
template = get_template('pretixplugins/banktransfer/control.html')
|
||||
|
||||
Reference in New Issue
Block a user