diff options
Diffstat (limited to 'update.py')
-rwxr-xr-x | update.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |