X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/blobdiff_plain/e26d95d9dbadcbfcd71e6569b277dd4b8888582d..d16b6e481bb75314ed3e4f7ae24ba6bde0378d2e:/src/minwii/logfilereader.py?ds=sidebyside 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 :