# HG changeset patch # User pieter.lukasse@wur.nl # Date 1422006501 -3600 # Node ID 3a69874edaf7d8cf2115290b7c0e6501402e232d # Parent a62374fcee9caa7dc2ce4f4d7e2fef55b5ae1b32 small fix diff -r a62374fcee9c -r 3a69874edaf7 nist_wrapper.py --- a/nist_wrapper.py Fri Jan 23 09:48:58 2015 +0100 +++ b/nist_wrapper.py Fri Jan 23 10:48:21 2015 +0100 @@ -145,7 +145,6 @@ #p.terminate() - not needed, nistm$ will terminate...nistms.exe is the one that #stays open...and orphan..killing it: - utils.log_message(log_file, "killing wine process...") if is_wine: # pid = utils.get_process_pid("nistms.exe") # os.kill(pid, 9) @@ -178,9 +177,10 @@ html_render.render(html_file) # copy necessary .js files as well: templates_folder = os.path.dirname(__file__) + '/templates/' - utils.copy_file(templates_folder + 'spectrum_gen.js', output_html_report_files_path+"/spectrum_gen.js") - utils.copy_dir(templates_folder + 'lib', output_html_report_files_path+'/lib' ) - utils.copy_dir(templates_folder + 'images', output_html_report_files_path+'/images' ) + #utils.copy_file(templates_folder + 'spectrum_gen.js', output_html_report_files_path+"/spectrum_gen.js") + #utils.copy_dir(templates_folder + 'lib', output_html_report_files_path+'/lib' ) + #utils.copy_dir(templates_folder + 'images', output_html_report_files_path+'/images' ) + utils.copy_dir(templates_folder, output_html_report_files_path) html_file.close()