blob: d203f3061dfc049073334f029ae4af6a2a3d6f12 [file] [log] [blame]
#!/usr/bin/python
# main handler file
import cgi, cgitb, os, sys
cgitb.enable()
# import libs
sys.path.append('lib/py')
sys.path.append('erpnext')
import webnotes
import webnotes.defs
webnotes.form = cgi.FieldStorage()
# make the form_dict
for key in webnotes.form.keys():
webnotes.form_dict[key] = webnotes.form.getvalue(key)
# pass on to legacy handler
import webnotes.handler