Notes
This commit is contained in:
@ -15,12 +15,14 @@ def copytemplate(rootdir, basefile):
|
||||
today = date.today()
|
||||
today = today.strftime("%m.%d.%Y")
|
||||
template = rootdir + basefile
|
||||
todayFile = f"Walmart-{today}.xlsx"
|
||||
# todayFile = f"Walmart-{today}.xlsx"
|
||||
todayFile = "Walmart-Chris-Template.xlsx"
|
||||
if os.path.exists(rootdir):
|
||||
shutil.copy2(template, rootdir + todayFile)
|
||||
# dirfiles = os.listdir(rootdir)
|
||||
# print(dirfiles)
|
||||
currentDash = rootdir + f"Walmart-{today}.xlsx"
|
||||
# currentDash = rootdir + f"Walmart-{today}.xlsx"
|
||||
currentDash = rootdir + "Walmart-Chris-Template.xlsx"
|
||||
# print(currentDash)
|
||||
findlatestExport(currentDash)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user