diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-08-02 01:05:10 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-08-02 01:05:10 +0300 |
commit | 3e7e87ea24fc057eea00bae0039be654f07732fa (patch) | |
tree | e8baf2248961e297a835d34a9ac55ba22a71d743 /cgit | |
parent | v2.0.1 (diff) | |
download | cgitize-3e7e87ea24fc057eea00bae0039be654f07732fa.tar.gz cgitize-3e7e87ea24fc057eea00bae0039be654f07732fa.zip |
cgitize.repo: discard empty descriptions
Diffstat (limited to '')
-rw-r--r-- | cgitize/repo.py | 2 |
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 |