Skip to content
Snippets Groups Projects
Verified Commit d83a4c94 authored by magicfelix's avatar magicfelix
Browse files

Add setup

parents
No related branches found
No related tags found
No related merge requests found
setup.py 0 → 100644
from json import dumps
conf = {
"title": "Example election",
"min": 0,
"max": 1,
"stats_url": "https://prognos.example.org",
}
cfg_file = open("config.json", "w")
cfg_file.write(dumps(conf))
cfg_file.close()
data_file = open("data-magicPrognos.json", "w")
data_file.write(dumps({}))
data_file.close()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment