makeatoon: make-a-toon doesn't crash anymore
This commit is contained in:
parent
fc36f32e97
commit
6527c00b0b
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue