Fix checking of `web' category, `description' key - stahg-gopher - Static Mercurial page generator for gopher HTML hg clone https://bitbucket.org/iamleot/stahg-gopher DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR changeset 992fba0fe82e9f919c265767f0548e62c0bbbc69 DIR parent 4e8d26dffa31a5ef7e5012f8060910e53452dee8 HTML Author: Leonardo Taccari <iamleot@gmail.com> Date: Sun, 12 May 2019 22:49:44 Fix checking of `web' category, `description' key Previously due missing decode they were not recognized. Diffstat: stahg-gopher.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) --- diff -r 4e8d26dffa31 -r 992fba0fe82e stahg-gopher.py --- a/stahg-gopher.py Sun May 12 22:21:34 2019 +0200 +++ b/stahg-gopher.py Sun May 12 22:49:44 2019 +0200 @@ -118,8 +118,8 @@ try: for _, k, value in self.client.config([b'web']): - if k == 'description': - self.description = value + if k.decode() == 'description': + self.description = value.decode() break except: self.description = \