SyntaxFix
Write A Post
Hire A Developer
Questions
You've got the ternary syntax x if x else '' - is that what you're after?
x if x else ''