We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cae3baf commit 6c042d4Copy full SHA for 6c042d4
bot.py
@@ -1773,7 +1773,7 @@ async def before_autoupdate(self):
1773
logger.warning("Autoupdates disabled.")
1774
self.autoupdate.cancel()
1775
return
1776
-
+
1777
@tasks.loop(hours=1, reconnect=False)
1778
async def log_expiry(self):
1779
log_expire_after = self.config.get("log_expiration")
core/migrations.py
@@ -84,7 +84,7 @@ async def _convert_legacy_block_list(
84
85
for k, v in blocklist_dict.items():
86
# handle new block format
87
- if type(v) is dict:
+ if isinstance(v, dict):
88
block = _convert_legacy_dict_block_format(k, v, block_type=block_type)
89
if block is None:
90
logger.debug("skipping expired block entry")
0 commit comments