summaryrefslogtreecommitdiff
path: root/squaredeal
diff options
context:
space:
mode:
Diffstat (limited to 'squaredeal')
-rw-r--r--squaredeal/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/squaredeal/__init__.py b/squaredeal/__init__.py
index 8faeb71..0e445f6 100644
--- a/squaredeal/__init__.py
+++ b/squaredeal/__init__.py
@@ -65,6 +65,8 @@ class SquareDeal(object):
with open(sqdpath, encoding=encoding) as sqdfile:
contents = [line.strip() for line in sqdfile.readlines()]
for idx, line in enumerate(contents):
+ if line.startswith('#'):
+ continue
linetype, _, linecontents = line.partition(' ')
if linetype == 'TN':
self.name = linecontents