1
0
Fork 0
mirror of synced 2024-06-27 02:20:36 +12:00

replaced os.path in init extractors

This commit is contained in:
Angel Rey 2020-09-30 14:43:35 -05:00 committed by Cristian Vargas
parent fa364ed728
commit ce71747538

View file

@ -75,7 +75,7 @@ def archive_link(link: Link, overwrite: bool=False, methods: Optional[Iterable[s
out_dir = out_dir or Path(link.link_dir)
try:
is_new = not os.path.exists(out_dir)
is_new = not Path(out_dir).exists()
if is_new:
os.makedirs(out_dir)