X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/blobdiff_plain/e26d95d9dbadcbfcd71e6569b277dd4b8888582d..ad467d05bb27ae61dd90f03577193752d60c5a45:/src/minwii/logfilereader.py?ds=inline diff --git a/src/minwii/logfilereader.py b/src/minwii/logfilereader.py index 50da29c..a5a2d35 100755 --- a/src/minwii/logfilereader.py +++ b/src/minwii/logfilereader.py @@ -177,7 +177,10 @@ class LogFileReader(object) : f = self.logfile f.seek(0) before = f.readline() - after = f.read() + line = f.readline() + while line.startswith('METADATA ') : + line = f.readline() + after = line + f.read() lines = [] for name, value in metadata :