X-Git-Url: https://scm.cri.mines-paristech.fr/git/minwii.git/blobdiff_plain/e26832c9e7be68fc16059f7a2d3c2478afbcfa91..73301d45fc7fbc65d3dbb551be8ffddf97588cd2:/src/minwii/logfilereader.py?ds=inline diff --git a/src/minwii/logfilereader.py b/src/minwii/logfilereader.py index b7f84a1..828b085 100755 --- a/src/minwii/logfilereader.py +++ b/src/minwii/logfilereader.py @@ -114,6 +114,8 @@ class LogFileReader(object) : for l in self.getBackwardLineIterator() : if l.startswith('EVT ') : break + else : + return None lastTicks = int(l.split(None, 2)[1]) return lastTicks