change platform=None to platform='NotSpecified'