added permissions for server side print

This commit is contained in:
Rushabh Mehta
2013-03-21 17:23:54 +05:30
parent bed19ac4d3
commit 4a80bc63b0
2 changed files with 7 additions and 1 deletions

View File

@@ -76,7 +76,10 @@ def get_html(page_name):
from_cache = True
if not html:
webnotes.connect()
from webnotes.auth import HTTPRequest
webnotes.http_request = HTTPRequest()
#webnotes.connect()
html = load_into_cache(page_name)
from_cache = False