summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/textutils.py b/textutils.py
index f83b05c..9fb59bb 100644
--- a/textutils.py
+++ b/textutils.py
@@ -286,7 +286,7 @@ def text_to_dict(text):
return res
for line in text.splitlines():
line = line.strip()
- if line:
+ if line and not line.startswith('#'):
key, value = [w.strip() for w in line.split('=', 1)]
if key in res:
try: