結果 : python dict return none instead of keyerror