aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cgit
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-08-02 01:05:10 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-08-02 01:05:10 +0300
commit3e7e87ea24fc057eea00bae0039be654f07732fa (patch)
treee8baf2248961e297a835d34a9ac55ba22a71d743 /cgit
parentv2.0.1 (diff)
downloadcgitize-3e7e87ea24fc057eea00bae0039be654f07732fa.tar.gz
cgitize-3e7e87ea24fc057eea00bae0039be654f07732fa.zip
cgitize.repo: discard empty descriptions
Diffstat (limited to '')
-rw-r--r--cgitize/repo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgitize/repo.py b/cgitize/repo.py
index 133cdc8..23098d4 100644
--- a/cgitize/repo.py
+++ b/cgitize/repo.py
@@ -78,7 +78,7 @@ class Repo:
@property
def desc(self):
- if self._desc is not None:
+ if self._desc is not None and self._desc:
return self._desc
if self.homepage:
return self.homepage