X-Git-Url: https://scm.cri.ensmp.fr/git/minwii.git/blobdiff_plain/e26d95d9dbadcbfcd71e6569b277dd4b8888582d..ebf72d7fe428b8af78d5b5906c4c01e4ef59447c:/src/minwii/logfilereader.py 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 :