Skip to content

Commit 6c862c4

Browse files
committed
fix script x3
1 parent 781871d commit 6c862c4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.root/generate_site_assets.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ def get_versions(path):
6969
if os.path.isdir(path):
7070
list = []
7171
for d in os.listdir(path):
72-
if os.path.isdir(d): list.append(d)
72+
if os.path.isdir(os.path.join(path, d)):
73+
list.append(d)
7374
return list
7475

7576
# Main

0 commit comments

Comments
 (0)