Lord Leoric of Wercheg
Grandmaster Knight
Traceback (most recent call last):
File "process_items.py", line 65, in <module>
write_items(variables,variable_uses,tag_uses,quick_strings)
File "process_items.py", line 26, in write_items
ofile.write(" itm_%s %s %s %d "%(convert_to_identifier(item[0]),replace_spac
es(item[1]),replace_spaces(item[1]),len(item[2])))
File "D:\TEMP_CS\Working Kingdom Management! +Hunting+Autoloot\process_common.
py", line 28, in replace_spaces
return string.replace(s0," ","_")
File "C:\Python26\lib\string.py", line 517, in replace
return s.replace(old, new, maxsplit)
AttributeError: 'list' object has no attribute 'replace'
I added a few items, checked for missing [,]() and wrong spacing but I always get this.
EDIT: Nevermind. Fixed it.
File "process_items.py", line 65, in <module>
write_items(variables,variable_uses,tag_uses,quick_strings)
File "process_items.py", line 26, in write_items
ofile.write(" itm_%s %s %s %d "%(convert_to_identifier(item[0]),replace_spac
es(item[1]),replace_spaces(item[1]),len(item[2])))
File "D:\TEMP_CS\Working Kingdom Management! +Hunting+Autoloot\process_common.
py", line 28, in replace_spaces
return string.replace(s0," ","_")
File "C:\Python26\lib\string.py", line 517, in replace
return s.replace(old, new, maxsplit)
AttributeError: 'list' object has no attribute 'replace'
I added a few items, checked for missing [,]() and wrong spacing but I always get this.
EDIT: Nevermind. Fixed it.