From aa8a0bbd66c2d0a8b2179384cfd44c87dbec087a Mon Sep 17 00:00:00 2001 From: Minoplhy Date: Tue, 17 Aug 2021 12:07:33 +0700 Subject: [PATCH] Update action.py --- action.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.py b/action.py index beb7185..0673ddc 100644 --- a/action.py +++ b/action.py @@ -13,7 +13,7 @@ excluded = "/repros/Resources/excluded.txt" rpz_locat = "/reprwiki/Private-build/ucate/rpz.txt" hosts_locat = "/reprwiki/Private-build/ucate/hosts.txt" abp_locat = "/reprwiki/Private-build/ucate/adblock.txt" -os.mkdir('/reprwiki/Private-build/ucate',exist_ok=True) +os.makedirs('/reprwiki/Private-build/ucate',exist_ok=True) crawler.clear_old_files(incoming) crawler.download_filters("https://badmojr.github.io/1Hosts/Pro/rpz.txt" ,incoming) @@ -38,7 +38,7 @@ excluded = "/repros/Resources/excluded.txt" rpz_locat = "/reprwiki/Private-build/veneto/rpz.txt" hosts_locat = "/reprwiki/Private-build/veneto/hosts.txt" abp_locat = "/reprwiki/Private-build/veneto/adblock.txt" -os.mkdir('/reprwiki/Private-build/veneto',exist_ok=True) +os.makedirs('/reprwiki/Private-build/veneto',exist_ok=True) crawler.clear_old_files(incoming) crawler.download_filters("https://block.energized.pro/ultimate/formats/rpz.txt" ,incoming)