Fix comparison to None
This commit is contained in:
parent
c58fdf786c
commit
fcd042b453
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ class Recipe(CapBaseObject):
|
||||||
if not empty(self.author):
|
if not empty(self.author):
|
||||||
sauthor += '%s@' % self.author
|
sauthor += '%s@' % self.author
|
||||||
|
|
||||||
if author == None:
|
if author is None:
|
||||||
sauthor += 'Cookboob'
|
sauthor += 'Cookboob'
|
||||||
else:
|
else:
|
||||||
sauthor += author
|
sauthor += author
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue