From 3e7e87ea24fc057eea00bae0039be654f07732fa Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 2 Aug 2021 01:05:10 +0300 Subject: cgitize.repo: discard empty descriptions --- cgitize/repo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3