From 4d26e1e90261821a64d52b62682f2910bdd63335 Mon Sep 17 00:00:00 2001 From: Gandalf <gandalf@hive.io> Date: Fri, 29 May 2020 11:32:48 -0400 Subject: [PATCH] [JES] Temporary disable blacklist checking. Those services seem to be having some issues --- hive/server/common/mutes.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hive/server/common/mutes.py b/hive/server/common/mutes.py index 9630b9549..1194708ca 100644 --- a/hive/server/common/mutes.py +++ b/hive/server/common/mutes.py @@ -41,6 +41,7 @@ class Mutes: def load(self): """Reload all accounts from irredeemables endpoint and global lists.""" + return self.accounts = set(_read_url(self.url).decode('utf8').split()) jsn = _read_url(self.blacklist_api_url + "/blacklists") self.blist = set(json.loads(jsn)) @@ -55,6 +56,7 @@ class Mutes: @classmethod def lists(cls, name, rep): """Return blacklists the account belongs to.""" + return[] assert name inst = cls.instance() -- GitLab