fix windows PyiFrozenLoader error

This commit is contained in:
rambros 2026-03-28 11:24:18 +05:30
parent c34d509677
commit 011c0ca4e0
2 changed files with 4 additions and 2 deletions

View file

@ -6,12 +6,13 @@ Discord API. Implements the same public interface as DiscordReader so that
migration scripts and UI code can use either provider transparently.
"""
from __future__ import annotations
import json
import logging
from datetime import datetime, timezone
from enum import IntEnum
from pathlib import Path
from typing import AsyncGenerator, Dict, Any, List, Optional
from typing import AsyncGenerator, Dict, Any, List, Optional, Union
from src.core.backup_database import BackupDatabase, parse_snowflake
logger = logging.getLogger(__name__)

View file

@ -1,9 +1,10 @@
from __future__ import annotations
import sqlite3
import logging
import json
import random
from pathlib import Path
from typing import Optional, Dict, Any
from typing import Optional, Dict, Any, Union
import threading
import sys
from src.core.utils import parse_snowflake