aboutsummaryrefslogtreecommitdiff
path: root/update.py
diff options
context:
space:
mode:
Diffstat (limited to 'update.py')
-rwxr-xr-xupdate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.py b/update.py
index c62b02f..373a839 100755
--- a/update.py
+++ b/update.py
@@ -71,7 +71,7 @@ def read_file(fil):
with open(fil) as f:
for line in f:
string = line.strip().split()
- if len(line) >= 1 and line[0] != '#':
+ if len(line) > 1 and line[0] != '#':
# run strip on each element
string = tuple(map(lambda x: x.strip(), string))
strings.append(string)