init
This commit is contained in:
@@ -623,8 +623,7 @@ if __name__ == "__main__":
|
|||||||
os.mkdir(outPath)
|
os.mkdir(outPath)
|
||||||
day = datetime.today().strftime("%Y%m%d")
|
day = datetime.today().strftime("%Y%m%d")
|
||||||
outPath = os.path.join(outPath, day)
|
outPath = os.path.join(outPath, day)
|
||||||
if os.path.isdir(outPath):
|
if not os.path.isdir(outPath):
|
||||||
shutil.rmtree(outPath)
|
|
||||||
os.mkdir(outPath)
|
os.mkdir(outPath)
|
||||||
|
|
||||||
stockStatus = StockStatus(RESOURCE_PATH)
|
stockStatus = StockStatus(RESOURCE_PATH)
|
||||||
|
|||||||
Reference in New Issue
Block a user