Lower check of TOR_DISABLE_PRACTRACKER

Since we sometimes call practracker directly, that's where we should
check the TOR_DISABLE_PRACTRACKER envvar.
This commit is contained in:
Nick Mathewson
2019-08-01 08:40:56 -04:00
parent 8d3f3e5d30
commit 3221dc1b32
2 changed files with 3 additions and 3 deletions
+2
View File
@@ -246,4 +246,6 @@ variable.
sys.exit(found_new_issues)
if __name__ == '__main__':
if os.environ.get("TOR_DISABLE_PRACTRACKER"):
sys.exit(0)
main(sys.argv)