Browse Source

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

version-14
Makarand Bauskar 8 years ago
committed by Rushabh Mehta
parent
commit
24c13a9996
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      frappe/handler.py

+ 1
- 0
frappe/handler.py View File

@@ -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)


Loading…
Cancel
Save