wacom: write just the timestamp to the log file
Easier to parse than a strftime. And we can just add that one in a comment anyway. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
7f8222b351
commit
6bf7715e83
|
@ -216,7 +216,7 @@ class DataLogger(object):
|
|||
|
||||
self.logfile.write(f'name: {self.device.name}\n')
|
||||
self.logfile.write(f'bluetooth: {self.btaddr}\n')
|
||||
self.logfile.write(f'time: {time.strftime("%Y-%m-%d %H:%M:%S")}\n')
|
||||
self.logfile.write(f'time: {int(time.time())} # host time: {time.strftime("%Y-%m-%d %H:%M:%S")}\n')
|
||||
self.logfile.write(f'data:\n')
|
||||
|
||||
def _close_file(self):
|
||||
|
|
Loading…
Reference in New Issue