From 37e09acf371cb7c51c382b6d23b42524ff6cd8ca Mon Sep 17 00:00:00 2001 From: Alexander Hayden Date: Thu, 31 Jan 2019 21:01:38 -0500 Subject: Moar dynamic tress and MAKE MODS GO IN ORDER --- update.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'update.py') diff --git a/update.py b/update.py index 68e598a..c203240 100755 --- a/update.py +++ b/update.py @@ -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 -- cgit v1.2.3