Commit 630b7a7af1ff851480ee38116348bc137dd0a42a
1 parent
4f6d4cb85c
Exists in
master
replace double tabs by one
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
datalogger-gui.py
... | ... | @@ -60,11 +60,11 @@ |
60 | 60 | meas = self.instrument.getValue() |
61 | 61 | meas = meas.replace(",", "\t") |
62 | 62 | meas = meas.replace(";", "\t") |
63 | - meas = meas.replace("\t\t", "\t") | |
64 | 63 | meas = meas.replace("+", "") |
65 | 64 | meas = meas.replace("E", "e") |
66 | 65 | |
67 | 66 | string = "%f\t%f\t%s" % (epoch, mjd, meas) |
67 | + string = string.replace("\t\t", "\t") | |
68 | 68 | self.data_file.write(string) # Write in a file |
69 | 69 | print(string) |
70 | 70 |