Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Fix dota2-items parse error: <TypeError: 'str' object does not support item assignment> #25
Conversation
|
I guess that avoids the exception, but you should really be using
I guess with merge_keys this will result in a mess :) |
I have an error when i parse items_game.txt from this link: GameTracking-Dota2
Traceback:
I've searched for the problem and found out that the error occurs on the 557707 line in this file. I think that error occurs because the value has become a
dict(before that it is clear that value is astr)Maybe the solution is not perfect, but for me - it completely solves the problem with parsing