diff nist_wrapper.py @ 12:3a69874edaf7

small fix
author pieter.lukasse@wur.nl
date Fri, 23 Jan 2015 10:48:21 +0100
parents bde3e4dc4476
children 92cf554fca03
line wrap: on
line diff
--- 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()