Changeset 2018 for pykota/trunk/cgi-bin
- Timestamp:
- 01/08/05 18:19:02 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/cgi-bin/printquota.cgi
r2017 r2018 24 24 # 25 25 # $Log$ 26 # Revision 1.42 2005/01/08 17:19:02 jalet 27 # Fixed incorrect import statement 28 # 26 29 # Revision 1.41 2005/01/08 17:13:08 jalet 27 30 # Move some functions outside of the CGI to allow their use in other CGI scripts … … 164 167 from pykota.tool import PyKotaTool, PyKotaToolError 165 168 from pykota.reporter import PyKotaReporterError, openReporter 166 import pykota.cgifuncs 169 from pykota.cgifuncs import getLanguagePreference, getCharsetPreference 167 170 168 171 header = """Content-type: text/html … … 358 361 359 362 if __name__ == "__main__" : 360 os.environ["LC_ALL"] = cgifuncs.getLanguagePreference()361 admin = PyKotaReportGUI(lang=os.environ["LC_ALL"], charset= cgifuncs.getCharsetPreference())363 os.environ["LC_ALL"] = getLanguagePreference() 364 admin = PyKotaReportGUI(lang=os.environ["LC_ALL"], charset=getCharsetPreference()) 362 365 admin.form = cgi.FieldStorage() 363 366 admin.guiAction()