Expected String Or Bytes Like Object Got Nonetype