mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
practracker: restore exceptions.txt header when running --regen
This commit is contained in:
parent
c4864de573
commit
a4e4896e66
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user