She/her
…
Похоже моя сломалась..
…
Похоже моя сломалась..
Damn..
Damn..
But before it if I used
if dictionary[key] == 1
it worked because there was 1
now there 1.0
and 1.0 != 1
But before it if I used
if dictionary[key] == 1
it worked because there was 1
now there 1.0
and 1.0 != 1
When you parsing JSON dictionary it's float now by default..
When you parsing JSON dictionary it's float now by default..
But dictionary became float..
So it should be "picture_1.png" but became "picture_1.0.png" etc
And my whole project based on dictionaries..
But dictionary became float..
So it should be "picture_1.png" but became "picture_1.0.png" etc
And my whole project based on dictionaries..
I just made character portrait customization and was happy..
And then upgrade and had to find what's wrong now..
Fortunately, I fix it quickly enough..
(just spend whole day for this system..)
I just made character portrait customization and was happy..
And then upgrade and had to find what's wrong now..
Fortunately, I fix it quickly enough..
(just spend whole day for this system..)
But if you parsing JSON all digit values pars as float..
And you need make it int manually..
like int(dictionary[key])
But if you parsing JSON all digit values pars as float..
And you need make it int manually..
like int(dictionary[key])
I had the same problem..
Like you find some lessons and like "Where all functions you told me?!"
I had the same problem..
Like you find some lessons and like "Where all functions you told me?!"