From d0eb3359abed23da3788aae74ab9c938d2dc92d8 Mon Sep 17 00:00:00 2001 From: feilong Date: Thu, 30 Dec 2021 16:39:59 +0800 Subject: [PATCH] fix dir bug --- main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.py b/main.py index c894f96..1eb7374 100644 --- a/main.py +++ b/main.py @@ -1,3 +1,4 @@ +import os from src.top import Top, InputMeta, OutputMeta @@ -48,5 +49,6 @@ def test_build_csdn_trend_top10_tag_race(): if __name__ == "__main__": + os.makedirs('pub', exist_ok=True) # test_build_csdn_ask_top10_tag_race() test_build_csdn_trend_top10_tag_race() -- GitLab