fix windows PyiFrozenLoader error
This commit is contained in:
parent
c34d509677
commit
011c0ca4e0
2 changed files with 4 additions and 2 deletions
|
|
@ -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.
|
migration scripts and UI code can use either provider transparently.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
from __future__ import annotations
|
||||||
import json
|
import json
|
||||||
import logging
|
import logging
|
||||||
from datetime import datetime, timezone
|
from datetime import datetime, timezone
|
||||||
from enum import IntEnum
|
from enum import IntEnum
|
||||||
from pathlib import Path
|
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
|
from src.core.backup_database import BackupDatabase, parse_snowflake
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,10 @@
|
||||||
|
from __future__ import annotations
|
||||||
import sqlite3
|
import sqlite3
|
||||||
import logging
|
import logging
|
||||||
import json
|
import json
|
||||||
import random
|
import random
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import Optional, Dict, Any
|
from typing import Optional, Dict, Any, Union
|
||||||
import threading
|
import threading
|
||||||
import sys
|
import sys
|
||||||
from src.core.utils import parse_snowflake
|
from src.core.utils import parse_snowflake
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue