From 6527c00b0b8abe0dc20b4eeb2be3d1d9e96c4006 Mon Sep 17 00:00:00 2001 From: John Cote Date: Mon, 30 Dec 2019 18:32:25 -0500 Subject: [PATCH] makeatoon: make-a-toon doesn't crash anymore --- toontown/makeatoon/NameGenerator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toontown/makeatoon/NameGenerator.py b/toontown/makeatoon/NameGenerator.py index 5a9aa0f..e229890 100644 --- a/toontown/makeatoon/NameGenerator.py +++ b/toontown/makeatoon/NameGenerator.py @@ -48,7 +48,7 @@ class NameGenerator: if currentLine.lstrip()[0:1] != b'#': a1 = currentLine.find(b'*') a2 = currentLine.find(b'*', a1 + 1) - self.nameDictionary[int(currentLine[0:a1])] = (int(currentLine[a1 + 1:a2]), currentLine[a2 + 1:len(currentLine) - 1]) + self.nameDictionary[int(currentLine[0:a1])] = (int(currentLine[a1 + 1:a2]), currentLine[a2 + 1:len(currentLine) - 1].decode('utf-8')) currentLine = input.readline() masterList = [self.boyTitles,