Changeset 522 in tmcsimulator for trunk/src/python/unifiedlogger/cad_watcher.py
- Timestamp:
- 11/11/2019 08:39:41 AM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/python/unifiedlogger/cad_watcher.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/python/unifiedlogger/cad_watcher.py
r471 r522 11 11 12 12 lastLineNum = 0 13 14 # Utility functions15 def isEmpty(cmsitem):16 return cmsitem == ",,,,,"17 def isFull(cmsitem):18 return not isEmpty(cmsitem)19 13 20 14 def setup(): … … 49 43 # Assume this is a read sync problem: Don't modify lastLineNum 50 44 print pathToLog+" is empty, ignoring." 45 lastLineNum = 0 #Start over 51 46 return [] 52 47 else: # file is good, read it.
Note: See TracChangeset
for help on using the changeset viewer.
