Skip to content

Commit 73e699e

Browse files
committed
Fixed #118
1 parent 60a7222 commit 73e699e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

application.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1413,7 +1413,7 @@ def format_data(filepath, datas):
14131413
file.close()
14141414

14151415
# This is the timestamp as returned at the begining of the experiment
1416-
timeStamp = folder_id[:-3]
1416+
timeStamp = folder_id[:-4]
14171417

14181418
dir_path = tkFileDialog.\
14191419
askdirectory(title="Where do you want to save spectra ?")

spectro.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -858,8 +858,8 @@ def get_timestamp(self, end=""):
858858
S = a second number digit
859859
"""
860860
tp_time_stamp = \
861-
"{time.tm_mday}:{time.tm_mon}:{time.tm_year}_\
862-
{time.tm_hour}:{time.tm_min}:{time.tm_sec}".\
861+
"{time.tm_mday}-{time.tm_mon}-{time.tm_year}_\
862+
{time.tm_hour}-{time.tm_min}-{time.tm_sec}".\
863863
format(time=time.localtime())
864864

865865
if end != "":

0 commit comments

Comments
 (0)