|
|
@@ -35,7 +35,7 @@ def runserverobj(arg=None): |
|
|
|
import webnotes.widgets.form.run_method |
|
|
|
webnotes.widgets.form.run_method.runserverobj() |
|
|
|
|
|
|
|
@webnotes.whitelist() |
|
|
|
@webnotes.whitelist(allow_guest=True) |
|
|
|
def logout(): |
|
|
|
webnotes.login_manager.logout() |
|
|
|
|
|
|
@@ -339,4 +339,4 @@ def compressBuf(buf): |
|
|
|
zfile = gzip.GzipFile(mode = 'wb', fileobj = zbuf, compresslevel = 5) |
|
|
|
zfile.write(buf) |
|
|
|
zfile.close() |
|
|
|
return zbuf.getvalue() |
|
|
|
return zbuf.getvalue() |