oops fix unsupported operand for blogs
This commit is contained in:
parent
2d84788520
commit
eff5463e84
|
@ -135,7 +135,8 @@ class Command(BaseCommand):
|
||||||
)
|
)
|
||||||
else None
|
else None
|
||||||
)
|
)
|
||||||
description += "..."
|
if description:
|
||||||
|
description += "..."
|
||||||
|
|
||||||
instance = models.Article.objects.create(
|
instance = models.Article.objects.create(
|
||||||
title=article.title,
|
title=article.title,
|
||||||
|
|
Loading…
Reference in a new issue