This commit is contained in:
dsyoon
2023-02-11 16:57:35 +09:00
parent 5c646b3a2f
commit 4010d1cc78

View File

@@ -623,9 +623,8 @@ if __name__ == "__main__":
os.mkdir(outPath)
day = datetime.today().strftime("%Y%m%d")
outPath = os.path.join(outPath, day)
if os.path.isdir(outPath):
shutil.rmtree(outPath)
os.mkdir(outPath)
if not os.path.isdir(outPath):
os.mkdir(outPath)
stockStatus = StockStatus(RESOURCE_PATH)
stockStatus.findCandidates(outPath)