Skip to content

Commit

Permalink
Update build_site.py
Browse files Browse the repository at this point in the history
  • Loading branch information
magictheegg committed Jan 14, 2025
1 parent 2a385cf commit bb2a640
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build_site.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ def genAllCards(codes):

set_codes = []
for entry in os.scandir('sets'):
if(entry.is_dir() and entry.name[-6:] == '-files'):
if entry.is_dir() and entry.name[-6:] == '-files':
set_codes.append(entry.name[:-6])
else:
elif entry.name != 'README.md':
os.remove(entry)

set_codes.sort()
Expand Down

0 comments on commit bb2a640

Please sign in to comment.