aboutsummaryrefslogtreecommitdiff
path: root/update.py
diff options
context:
space:
mode:
authorAlexander Hayden <alexhayden25@gmail.com>2019-01-31 21:01:38 -0500
committerAlexander Hayden <alexhayden25@gmail.com>2019-01-31 21:01:38 -0500
commit37e09acf371cb7c51c382b6d23b42524ff6cd8ca (patch)
tree8c73859a744fa5a9f3c784f45a567aea0f08772b /update.py
parentfc24cf77b90bbab554b7f773d893d59cf55f9fc3 (diff)
downloadmodpackman-37e09acf371cb7c51c382b6d23b42524ff6cd8ca.tar.gz
modpackman-37e09acf371cb7c51c382b6d23b42524ff6cd8ca.zip
Moar dynamic tress and MAKE MODS GO IN ORDER
Diffstat (limited to 'update.py')
-rwxr-xr-xupdate.py4
1 files changed, 2 insertions, 2 deletions
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