Commit 3148abba authored by ARCHER's avatar ARCHER 💬
Browse files

check for manifest.safe ( to prevent empty dir)

parent 5af447e0
......@@ -263,7 +263,7 @@ def sar2path(name,skip=False,prefix=default_prefix):
if skip:
found=False
for path in paths:
if os.path.exists(path):
if os.path.exists("%s/manifest.safe" % path):
found=True
break
if found:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment