X-Git-Url: https://scm.cri.mines-paristech.fr/git/minwii.git/blobdiff_plain/a07152998dd50dab4e31a809158b3f5b430ac094..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