Add script

This commit is contained in:
Rampoina 2022-01-16 20:14:03 +01:00
parent 3b49038034
commit 775b89bd09
1 changed files with 10 additions and 0 deletions

10
script.py Normal file
View File

@ -0,0 +1,10 @@
from mako.template import Template
import json
import itertools
import argparse
appTemplate = Template(filename='./spaces.html')
f = open('libregamingspaces.json')
spaces=json.load(f)
print(appTemplate.render(s=spaces))