Changeset 968 for trunk/zoo-project/zoo-services/utils/open-api/cgi-env
- Timestamp:
- Dec 18, 2020, 7:11:27 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-services/utils/open-api/cgi-env/service.py
r962 r968 28 28 def display(conf,inputs,outputs): 29 29 config = configparser.ConfigParser() 30 config.read(conf["lenv"]["cwd"]+'/oas.cfg' )30 config.read(conf["lenv"]["cwd"]+'/oas.cfg',"utf-8") 31 31 nameSpace = {'conf': conf,'inputs': inputs, 'outputs': outputs,"openapi": config} 32 32 t = Template(file=conf["main"]["templatesPath"]+"/index.html",searchList=nameSpace)
Note: See TracChangeset
for help on using the changeset viewer.