On pinychat does anyone know how to fix this error i think i fucked up something lol
, line 16, in <module>
if OPTIONS['ASCII']:
TypeError: tuple indices must be integers, not str
Heres how its written in the code
# Loads the 'ascii.txt' file with ASCII text into a dictionary
# ASCII in the text file must be in the format [name of ascii] [ASCII object] , the name must be one word followed by a space and then the ASCII object
if OPTIONS['ASCII']:
if os.path.exists(OPTIONS['path'] + OPTIONS['ASCII_file']):
ASCII_dict = tinychat.fh.ascii_loader(OPTIONS['path'], OPTIONS['ASCII_file'])
else:
print "BOT: *The file:", OPTIONS['ASCII_file'], "was not found in the path:", OPTIONS['path'], "*"
print "BOT: *As a result, ASCII was not loaded. Please check your settings.*\n\n"
any idea whats wrong?
, line 16, in <module>
if OPTIONS['ASCII']:
TypeError: tuple indices must be integers, not str
Heres how its written in the code
# Loads the 'ascii.txt' file with ASCII text into a dictionary
# ASCII in the text file must be in the format [name of ascii] [ASCII object] , the name must be one word followed by a space and then the ASCII object
if OPTIONS['ASCII']:
if os.path.exists(OPTIONS['path'] + OPTIONS['ASCII_file']):
ASCII_dict = tinychat.fh.ascii_loader(OPTIONS['path'], OPTIONS['ASCII_file'])
else:
print "BOT: *The file:", OPTIONS['ASCII_file'], "was not found in the path:", OPTIONS['path'], "*"
print "BOT: *As a result, ASCII was not loaded. Please check your settings.*\n\n"
any idea whats wrong?



![[Image: 0DvFxnA.gif]](https://i.imgur.com/0DvFxnA.gif)