commit | 51146c07c3440459e5863d97348d6016163ae541 | [log] [tgz] |
---|---|---|
author | Anand Doshi <anand@iwebnotes.com> | Thu Jul 12 18:41:12 2012 +0530 |
committer | Anand Doshi <anand@iwebnotes.com> | Thu Jul 12 18:41:12 2012 +0530 |
tree | 3a767504ab395bcbc61f174ef2186bbf47f2d7f7 | |
parent | 8790188fc86c72ad3b3b57ed7d03652ac900e91e [diff] [blame] |
cleaner web cache code
diff --git a/public/rss.xml b/public/rss.xml index 3045069..efe083e 100755 --- a/public/rss.xml +++ b/public/rss.xml
@@ -27,8 +27,12 @@ import webnotes import webnotes.auth +import conf +sys.path.append(conf.modules_path) + if __name__=='__main__': - webnotes.http_request = webnotes.auth.HTTPRequest() + # webnotes.http_request = webnotes.auth.HTTPRequest() + webnotes.connect() from webnotes.cms import feed try: print 'Content-Type: text/xml'