Commit 4cf0b213 authored by Maxime Perrotin's avatar Maxime Perrotin

Fix timestamp of recorded MSC scenarii

parent c3c50d55
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
Interface to the TASTE MSC Viewer Interface to the TASTE MSC Viewer
Copyright (c) 2012-2015 European Space Agency Copyright (c) 2012-2018 European Space Agency
Designed and implemented by Maxime Perrotin Designed and implemented by Maxime Perrotin
...@@ -251,7 +251,7 @@ inst {fv};'''.format(fv=fv_name)] ...@@ -251,7 +251,7 @@ inst {fv};'''.format(fv=fv_name)]
endmsc; endmsc;
endmscdocument; endmscdocument;
''') ''')
msc_name = self.fv_name + '_trace_' + strftime("%Y%m%d%H%S") + '.msc' msc_name = self.fv_name + '_trace_' + strftime("%Y%m%d%H%M") + '.msc'
msc_file = open(msc_name, 'w') msc_file = open(msc_name, 'w')
msc_file.write('\n'.join(self.msc).encode('latin1')) msc_file.write('\n'.join(self.msc).encode('latin1'))
msc_file.close() msc_file.close()
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
4) format(gser) 4) format(gser)
properly format a GSER string. useful for comparing them properly format a GSER string. useful for comparing them
Copyright (c) 2012-2016 European Space Agency Copyright (c) 2012-2018 European Space Agency
Designed and implemented by Maxime Perrotin Designed and implemented by Maxime Perrotin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment