mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 18:59:08 +00:00
cleaner web cache code
This commit is contained in:
@@ -27,8 +27,12 @@ sys.path.append('../lib/py')
|
||||
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'
|
||||
|
||||
Reference in New Issue
Block a user