Extract website to SREBOT-web repo: remove web/, move seasons/locales/constants to repo root, fix imports
This commit is contained in:
+1
-1
@@ -1919,7 +1919,7 @@ async def guild_lang(guild_id: int) -> str:
|
||||
# SEASON SCHEDULE (shared with web/utils/seasons.js)
|
||||
# ============================================================================
|
||||
|
||||
SEASONS_FILE = Path(__file__).resolve().parent.parent / "web" / "constants" / "seasons"
|
||||
SEASONS_FILE = Path(__file__).resolve().parent.parent / "constants" / "seasons"
|
||||
|
||||
_SEASON_HEADER_RE = re.compile(r"^\s*(\d{4})-(I{1,3}|IV|VI{0,3}|IX|X)\s*$")
|
||||
_WEEK_LINE_RE = re.compile(
|
||||
|
||||
Reference in New Issue
Block a user