patch fix
diff --git a/index.cgi b/index.cgi
index a119dae..bc1de92 100755
--- a/index.cgi
+++ b/index.cgi
@@ -19,7 +19,13 @@
webnotes.form_dict[key] = webnotes.form.getvalue(key)
# init request
- webnotes.http_request = webnotes.auth.HTTPRequest()
+ try:
+ webnotes.http_request = webnotes.auth.HTTPRequest()
+ except Exception, e:
+ if webnotes.response['message']=='Authentication Failed':
+ pass
+ else:
+ raise e
def respond():
import webnotes
@@ -34,4 +40,4 @@
if __name__=="__main__":
init()
- respond()
\ No newline at end of file
+ respond()