Changeset 2018

Show
Ignore:
Timestamp:
01/08/05 18:19:02 (14 years ago)
Author:
jalet
Message:

Fixed incorrect import statement

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/cgi-bin/printquota.cgi

    r2017 r2018  
    2424# 
    2525# $Log$ 
     26# Revision 1.42  2005/01/08 17:19:02  jalet 
     27# Fixed incorrect import statement 
     28# 
    2629# Revision 1.41  2005/01/08 17:13:08  jalet 
    2730# Move some functions outside of the CGI to allow their use in other CGI scripts 
     
    164167from pykota.tool import PyKotaTool, PyKotaToolError 
    165168from pykota.reporter import PyKotaReporterError, openReporter 
    166 import pykota.cgifuncs 
     169from pykota.cgifuncs import getLanguagePreference, getCharsetPreference 
    167170 
    168171header = """Content-type: text/html 
     
    358361             
    359362if __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()) 
    362365    admin.form = cgi.FieldStorage() 
    363366    admin.guiAction()