practracker: restore exceptions.txt header when running --regen

This commit is contained in:
Nick Mathewson 2019-08-01 10:25:20 -04:00
parent c4864de573
commit a4e4896e66

View File

@ -193,6 +193,7 @@ def main(argv):
tmpname = exceptions_file + ".tmp"
tmpfile = open(tmpname, "w")
problem_file = tmpfile
problem_file.write(HEADER)
ProblemVault = problem.ProblemVault()
else:
ProblemVault = problem.ProblemVault(exceptions_file)