Skip to content

Commit f4a3fc5

Browse files
BradG13531patrickelectric
authored andcommitted
Minor change to omniscan, s500, and surveyor
1 parent c47346f commit f4a3fc5

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

generate/templates/omniscan450.py.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ class Omniscan450(PingDevice):
259259
{# raise FileExistsError(f"Log file already exists: {log_path}") #}
260260

261261
self.current_log = log_path
262+
self.logging = True
262263
self.bytes_written = 0
263264

264265
print(f"Logging to {self.current_log}")

generate/templates/s500.py.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ class S500(PingDevice):
289289
log_path.unlink() # delete existing file (program was restarted quickly)
290290

291291
self.current_log = log_path
292+
self.logging = True
292293
self.bytes_written = 0
293294

294295
print(f"Logging to {self.current_log}")

generate/templates/surveyor240.py.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ class Surveyor240(PingDevice):
245245
log_path.unlink() # delete existing file (program was restarted quickly)
246246

247247
self.current_log = log_path
248+
self.logging = True
248249
self.bytes_written = 0
249250

250251
print(f"Logging to {self.current_log}")

0 commit comments

Comments
 (0)