Fix PEP warning

This commit is contained in:
PCoder 2020-12-23 07:57:54 +05:30
parent cb7a1ed4f4
commit cda241893b

View file

@ -1193,6 +1193,7 @@ def do_create_vm(request, user, stripe_api_cus_id, card_details_response,
vm_template_id, template, user
)
def show_error(msg, request):
messages.add_message(request, messages.ERROR, msg,
extra_tags='failed_payment')