This commit is contained in:
dsyoon
2022-08-05 02:06:51 +09:00
parent e0a336c8cc
commit 7c0cbcb680
2 changed files with 4 additions and 0 deletions

View File

@@ -62,6 +62,8 @@ if week in (0, 1, 2, 3, 4):
analyzerSqlite = AnalyzerSqlite(PROJECT_HOME, stockFileName)
print("\n[종목 결정]")
day = datetime.today().strftime("%Y%m%d")
if not os.path.isdir(PROJECT_HOME + "/resources/analysis"):
os.mkdir(PROJECT_HOME + "/resources/analysis")
outPath = PROJECT_HOME + "/resources/analysis/" + day
if os.path.isdir(outPath):
shutil.rmtree(outPath)