nao版、can only concatenate str (not "NoneType") to strというエラーが出る。