##// END OF EJS Templates
Test fix upload
Test fix upload

File last commit:

r0:b84e1135c2c4
r16:a7d6f530f4cf
Show More
isTrusted.py
16 lines | 340 B | text/x-python | PythonLexer
Initial
r0 #!PYTHONEXE
"""isTrusted.py returns 1 if user trusted, 0 if not.
Simply calls madrigal.ui.web.MadrigalWeb.isTrusted. Need only to be called from
tcl cgi scripts.
$Id: isTrusted.py 7046 2019-10-07 19:57:14Z brideout $
"""
import os, os.path, sys
import madrigal.ui.web
webObj = madrigal.ui.web.MadrigalWeb()
print(webObj.isTrusted())