Get rid of symlink removal guard, it turns out mergerfs is the culprit

This commit is contained in:
RichardG867
2022-04-15 00:15:07 -03:00
parent 6ee0889a8e
commit 00bdbec806

View File

@@ -179,11 +179,10 @@ class ArchiveExtractor(Extractor):
pass
# Remove any created symlink.
while os.path.islink(link_path):
try:
os.remove(link_path)
except:
break
try:
os.remove(link_path)
except:
pass
def extract(self, file_path, file_header, dest_dir, dest_dir_0):
"""Extract an archive."""