X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/blobdiff_plain/a07152998dd50dab4e31a809158b3f5b430ac094..9d54560da837e13b9f6fd3705c4db1616ab73d1a:/src/minwii/logfilereader.py 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