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

check for ( to prevent empty dir)

parent 5af447e0
......@@ -263,7 +263,7 @@ def sar2path(name,skip=False,prefix=default_prefix):
if skip:
for path in paths:
if os.path.exists(path):
if os.path.exists("%s/" % path):
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