Skip to content

Commit

Permalink
make sure resources_generator.py makes the tag-csv folder
Browse files Browse the repository at this point in the history
  • Loading branch information
gwct committed Dec 14, 2023
1 parent 2be2c99 commit 3fa01a7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/resources_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
tag_list = sorted(list(tags.keys()), key=lambda x: x.lower());
# Get a list of the active tags, sorted alphabetically

if not os.path.isdir("data/resources/tag-csv"):
os.mkdir("data/resources/tag-csv");
# Make the directory for the tag tables if it doesn't exist

####################

tag_counts = { tag : 0 for tag in tag_list };
Expand Down

0 comments on commit 3fa01a7

Please sign in to comment.