diff options
author | Alexander Hayden <alexhayden25@gmail.com> | 2019-01-31 21:01:38 -0500 |
---|---|---|
committer | Alexander Hayden <alexhayden25@gmail.com> | 2019-01-31 21:01:38 -0500 |
commit | 37e09acf371cb7c51c382b6d23b42524ff6cd8ca (patch) | |
tree | 8c73859a744fa5a9f3c784f45a567aea0f08772b /update.py | |
parent | fc24cf77b90bbab554b7f773d893d59cf55f9fc3 (diff) | |
download | modpackman-37e09acf371cb7c51c382b6d23b42524ff6cd8ca.tar.gz modpackman-37e09acf371cb7c51c382b6d23b42524ff6cd8ca.zip |
Moar dynamic tress and MAKE MODS GO IN ORDER
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 |