Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Python .get() does not evaluate to True even though there is an object?
- if request.params.get('logo'):
- do x
- if not request.params.get('logo') == None:
- do x
- if request.params.get('logo') is not None:
- # do x
- if 'logo' in request.params:
- do x
Advertisement
Add Comment
Please, Sign In to add comment