diff options
Diffstat (limited to 'update.py')
-rwxr-xr-x | update.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -65,14 +65,14 @@ def check_updates(): print("\nFinished checking for updates!") def read_file(fil): - strings = set() + strings = [] with open(fil) as f: for line in f: string = line.strip().split() if len(line) >= 1 and line[0] != '#': # run strip on each element string = tuple(map(lambda x: x.strip(), string)) - strings.add(string) + strings.append(string) return strings |