#!/usr/bin/python

import os
import glob
import cgi
import PrintPages as pt

address = cgi.escape(os.environ["REMOTE_ADDR"])
script = "Sensitivity Form"
pt.write_log_entry(script, address)
pt.print_header('GrowChinook', 'Sens')
pt.print_full_form(None, None, 'Sens_in', 'RunModelSens.py')
extension = 'csv'
os.chdir('uploads')
result = [i for i in glob.glob('*.csv')]

print('''
{}
</div>
</body>
'''.format(result))
print ('</html>')

