Commit d9ca21d1 authored by Sebastien Luttringer's avatar Sebastien Luttringer
Browse files

check command fail if cwd is not the repository path

compute of real path of images to check integrety was poorly coded. Fix it!
parent a1556fec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -248,7 +248,7 @@ class Repository(object):
        # check corruption of local files
        arrow("Checking corrupted files")
        for f in local_files:
            fo = PipeFile(f)
            fo = PipeFile(os.path.join(self.config.path, f))
            fo.consume()
            fo.close()
            if fo.md5 != f: