Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
edulix committed Jun 4, 2021
1 parent 8ca68e0 commit d96b96b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions config_updates.py
Original file line number Diff line number Diff line change
Expand Up @@ -754,13 +754,14 @@ def write_agora_results_files(config, changes_path, elections_path, ids_path):

epath = os.path.join(elections_path, "%s.config.results.json" % election_id)
with open(epath, mode='w', encoding="utf-8", errors='strict') as f:
f.write(serialize(
f.write(
serialize(
dict(
version="1.0",
pipes=results_config
)
)
))
)

def hash_file(filePath):
'''
Expand Down Expand Up @@ -1188,4 +1189,4 @@ def elections_path_check(acces_check):
generate_pdf(config, args.tree_path, args.elections_path)
except Exception as ex:
print(traceback.format_exc())
exit(2)
exit(2)

0 comments on commit d96b96b

Please sign in to comment.