aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/torouter-web/tui/utils/parsing.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/torouter-web/tui/utils/parsing.py b/packages/torouter-web/tui/utils/parsing.py
index 6acf988..beb45d3 100644
--- a/packages/torouter-web/tui/utils/parsing.py
+++ b/packages/torouter-web/tui/utils/parsing.py
@@ -81,6 +81,7 @@ class torrc:
def parse(self):
for line in self.fp.readlines():
+ line = line.lstrip()
if line.startswith("#") or line == "":
continue
else: