From 321315ace07f569263711de207b19a0926492962 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Sat, 1 Apr 2017 15:17:17 +0900 Subject: [PATCH] Fix typo --- server/env.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/env.py b/server/env.py index a2bf7b0..437ceba 100644 --- a/server/env.py +++ b/server/env.py @@ -143,7 +143,7 @@ class Env(LoggedClass): host = self.default('REPORT_HOST_TOR', None) if host is None: return None - if not tor_host.endswith('.onion'): + if not host.endswith('.onion'): raise self.Error('tor host "{}" must end with ".onion"' .format(host))