reshuffled license (now CC0 in license text), moved tocs to subfolder and added tocs for platform

This commit is contained in:
Trilarion
2019-09-09 12:41:32 +02:00
parent 1581152bc3
commit d779cefbb0
56 changed files with 3191 additions and 2459 deletions

View File

@ -26,12 +26,15 @@ def entry_iterator(games_path):
# get all entries (ignore everything starting with underscore)
entries = os.listdir(games_path)
entries = (x for x in entries if not x.startswith('_'))
# iterate over all entries
for entry in entries:
entry_path = os.path.join(games_path, entry)
# ignore directories ("tocs" for example)
if os.path.isdir(entry_path):
continue
# read entry
content = read_text(entry_path)