commit | afaac609822146fd51f638fc0665e5da78e81f02 | [log] [tgz] |
---|---|---|
author | Rushabh Mehta <rmehta@gmail.com> | Tue Feb 14 11:44:13 2012 +0530 |
committer | Rushabh Mehta <rmehta@gmail.com> | Tue Feb 14 11:44:13 2012 +0530 |
tree | 9f1bfbe0c48baf4dfb75dd799d2658648f1729b9 | |
parent | bfc03cf8bd15ff2c2721bdd2604bdd5759983823 [diff] [blame] |
made all.js and all.css and all guests share same session
diff --git a/index.cgi b/index.cgi index 3ec31e7..8a7a72e 100755 --- a/index.cgi +++ b/index.cgi
@@ -21,11 +21,8 @@ # init request try: webnotes.http_request = webnotes.auth.HTTPRequest() - except Exception, e: - if webnotes.response['message']=='Authentication Failed': - pass - else: - raise e + except webnotes.AuthenticationError, e: + pass def respond(): import webnotes