TypeError: ‘NoneType’

You’re not returning selection, you’re printing it instead. Replace print(selection) with return selection.

Browse More Popular Posts

Leave a Comment