Fix bug where wrong md5 was used

This commit is contained in:
Jordan Eldredge 2018-08-09 11:19:39 -04:00
parent 1720907d14
commit 7f8cb1e2e9

View file

@ -139,10 +139,11 @@ def main(dry):
def tweet_skin(md5):
print("Going to Tweet the skin with md5 hash %s" % md5)
filenames = dict()
for pair in get_lines("filenames.txt"):
[md5, filename] = pair.strip().split(" ")
filenames[md5] = filename
[file_md5, filename] = pair.strip().split(" ")
filenames[file_md5] = filename
skin_name = filenames[md5]
assert skin_name