Przeglądaj źródła

[hotfix] local veriable data reference before assignment fixes (#3185)

version-14
Makarand Bauskar 8 lat temu
committed by Rushabh Mehta
rodzic
commit
24c13a9996
1 zmienionych plików z 1 dodań i 0 usunięć
  1. +1
    -0
      frappe/handler.py

+ 1
- 0
frappe/handler.py Wyświetl plik

@@ -15,6 +15,7 @@ from werkzeug.wrappers import Response
def handle():
"""handle request"""
cmd = frappe.local.form_dict.cmd
data = None

if cmd!='login':
data = execute_cmd(cmd)


Ładowanie…
Anuluj
Zapisz