With a simple dictionary like:
myDict{\'key1\':1, \'key2\':2}
I can safely use:
print myDict.get(\'key3\')
an
That's normal since key3 doesn't exist so
myDict.get('key3')
returns none..
NoneType object has no attribute..
So you have to store the value of myDict.get('key3'), test if it's not null and then use the get method on the stored item