Kaynağa Gözat

Merge pull request #5340 from achillesrasquinha/python3

compatible key iterations
pull/2/head
Achilles Rasquinha 7 yıl önce
committed by GitHub
ebeveyn
işleme
e6f8f0482f
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. +1
    -1
      payments/templates/pages/braintree_checkout.py
  2. +1
    -1
      payments/templates/pages/stripe_checkout.py

+ 1
- 1
payments/templates/pages/braintree_checkout.py Dosyayı Görüntüle

@@ -17,7 +17,7 @@ def get_context(context):
context.no_cache = 1

# all these keys exist in form_dict
if not (set(expected_keys) - set(frappe.form_dict.keys())):
if not (set(expected_keys) - set(list(frappe.form_dict))):
for key in expected_keys:
context[key] = frappe.form_dict[key]



+ 1
- 1
payments/templates/pages/stripe_checkout.py Dosyayı Görüntüle

@@ -17,7 +17,7 @@ def get_context(context):
context.publishable_key = get_api_key()

# all these keys exist in form_dict
if not (set(expected_keys) - set(frappe.form_dict.keys())):
if not (set(expected_keys) - set(list(frappe.form_dict))):
for key in expected_keys:
context[key] = frappe.form_dict[key]



Yükleniyor…
İptal
Kaydet