cristianmiranda / dotfiles

🤖 ~/dotfiles
http://dotfiles.cmiranda.ar
6 stars 3 forks source link

bumblebee-status[github]: Fix invalid JSON parse #3

Closed cristianmiranda closed 4 years ago

cristianmiranda commented 4 years ago

image

2020-06-06_17-14

cristianmiranda commented 4 years ago

Possible fix:

diff --git a/bumblebee_status/modules/contrib/github.py b/bumblebee_status/modules/contrib/github.py
index 54f7199..004415c 100644
--- a/bumblebee_status/modules/contrib/github.py
+++ b/bumblebee_status/modules/contrib/github.py
@@ -83,7 +83,6 @@ class Module(core.module.Module):
                 self.__label += "/".join(counts)

         except Exception as err:
-            print(err)
             self.__label = "n/a"

     def __getUnreadNotificationsCountByReason(self, notifications, reason):
cristianmiranda commented 4 years ago

Fixed @ https://github.com/tobi-wan-kenobi/bumblebee-status/pull/691 🥳