import enki

e = enki.Enki('a', 'http://localhost:5001', 'translationsvoting')

e.get_all()

lines = []
for t in e.tasks:
    msgstr = e.task_runs_df[t.id]['msgstr'].describe()['top']
    var_id = t.info['var_id']
    line = "%s= %s\n" % (var_id, msgstr)
    lines.append(line)

file = open('/tmp/file.properties', 'w')
for l in lines:
    file.write(l)
file.close()

Create properties files from votes.
Create properties files from votes.
