Skip to content

Commit a1b22c7

Browse files
committed
minor change
1 parent 641c79d commit a1b22c7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

build_addon.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from zipfile import ZipFile
22
import os
3+
from datetime import date
34

45

56
addondirectory = 'simloader'
@@ -20,7 +21,8 @@
2021
mzddirectory: mzddirectory,
2122
}
2223

23-
with ZipFile('simloader_addon.zip', 'w') as addonzip:
24+
today = str(date.today())
25+
with ZipFile(f'simloader_addon_{today}.zip', 'w') as addonzip:
2426
# write all directories
2527
for k, v in dirs.items():
2628
for subdir, dirs, files in os.walk(k):

0 commit comments

Comments
 (0)