Commit d9978e03 authored by Nick Mathewson's avatar Nick Mathewson 🎨
Browse files

avoid crash on older Tor authority versions.

parent 723705f9
......@@ -787,6 +787,8 @@ class LocalNodeBuilder(NodeBuilder):
if os.path.exists(ed_fn):
s = open(ed_fn).read().strip().split()[1]
self._env['fingerprint_ed25519'] = s
else:
self._env['fingerprint_ed25519'] = ""
def _getAltAuthLines(self, hasbridgeauth=False):
"""Return a combination of AlternateDirAuthority,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment