diff options
| author | 2020-11-19 11:30:33 +0100 | |
|---|---|---|
| committer | 2020-11-19 11:30:33 +0100 | |
| commit | de367839793873c4ddfa3ce13cf25386ab0bb17f (patch) | |
| tree | ff390a7917002ebc608c2e13333df03a94466eac /bot/exts/halloween/hacktoberstats.py | |
| parent | Merge pull request #517 from python-discord/sebastiaan/backend/remove-dockerh... (diff) | |
| parent | Split lint and build jobs into separate workflows (diff) | |
Merge pull request #520 from python-discord/sebastiaan/backend/fix-flake8-check
Fix flake8 check in CI and separate Lint and Build jobs into separate workflows
Diffstat (limited to 'bot/exts/halloween/hacktoberstats.py')
| -rw-r--r-- | bot/exts/halloween/hacktoberstats.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bot/exts/halloween/hacktoberstats.py b/bot/exts/halloween/hacktoberstats.py index beff86e3..4fd5c324 100644 --- a/bot/exts/halloween/hacktoberstats.py +++ b/bot/exts/halloween/hacktoberstats.py @@ -3,7 +3,7 @@ import logging import re from collections import Counter from datetime import datetime, timedelta -from pathlib import Path +# from pathlib import Path from typing import List, Tuple, Union import aiohttp @@ -13,7 +13,7 @@ from discord.ext import commands from bot.constants import Channels, Month, Tokens, WHITELISTED_CHANNELS from bot.utils.decorators import in_month, override_in_channel -# TODO: Implement substitutes for volume-persistent methods. +# TODO: Implement substitutes for volume-persistent methods. # noqa: T000 # from bot.utils.persist import make_persistent log = logging.getLogger(__name__) @@ -41,7 +41,7 @@ class HacktoberStats(commands.Cog): def __init__(self, bot: commands.Bot): self.bot = bot - self.link_json = make_persistent(Path("bot", "resources", "halloween", "github_links.json")) + # self.link_json = make_persistent(Path("bot", "resources", "halloween", "github_links.json")) self.linked_accounts = self.load_linked_users() @in_month(Month.SEPTEMBER, Month.OCTOBER, Month.NOVEMBER) |