X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/blobdiff_plain/e26d95d9dbadcbfcd71e6569b277dd4b8888582d..fe914ab0f0814933a07c70bc8730bc646f722929:/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 :