plus-me / backend

The REST API and admin Interface
1 stars 2 forks source link

User: Don't use 'is not' for checking against empty string #17

Closed frlan closed 3 years ago

frlan commented 3 years ago

An empty string is considered False in Python. 'is not' is checking whether the object is the same.