Skip to content

Commit

Permalink
Add teamid to prints from DOMjudge
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenweyns committed Nov 24, 2024
1 parent 921e303 commit ee0fc81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/domserver/scripts/patches.d/10-default-config.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
if category["category"] == "External systems":
for item in category["items"]:
if item["name"] == "print_command":
item["default_value"] = "/usr/bin/enscript --columns=2 --pages=-10 --landscape --pretty-print \"--header='[original]'; page $% of $=; time=$C; room='[location]'; team='[teamname]'\" [file]"
item["default_value"] = "/usr/bin/enscript --columns=2 --pages=-10 --landscape --pretty-print \"--header='[original]'; page $% of $=; time=$C; room='[location]'; team='[teamname]'; teamid='[teamid]'\" [file]"
if item["name"] == "data_source":
item["default_value"] = 1

Expand Down

0 comments on commit ee0fc81

Please sign in to comment.