|
@@ -157,6 +157,7 @@ def handle(): |
|
|
# login executed in webnotes.auth |
|
|
# login executed in webnotes.auth |
|
|
if webnotes.request_method == "POST": |
|
|
if webnotes.request_method == "POST": |
|
|
webnotes.conn.begin() |
|
|
webnotes.conn.begin() |
|
|
|
|
|
|
|
|
try: |
|
|
try: |
|
|
execute_cmd(cmd) |
|
|
execute_cmd(cmd) |
|
|
except webnotes.ValidationError, e: |
|
|
except webnotes.ValidationError, e: |
|
|