Skip to content

Commit

Permalink
fix: 修正导入路径,统一大小写
Browse files Browse the repository at this point in the history
  • Loading branch information
Coooolfan committed Nov 25, 2024
1 parent 67cd939 commit 224e2f3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

from src.configer import Configer
from src.manager import Manager
from src.model.Album import Album
from src.model.Media import Media
from src.model.album import Album
from src.model.media import Media
from src.static import ALBUMID_MAP

last_cookie_refresh_time = None
Expand Down
4 changes: 2 additions & 2 deletions src/model/database.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from sqlite3 import IntegrityError
from src.model.db import db
from src.model.Album import Album
from src.model.Media import Media
from src.model.album import Album
from src.model.media import Media


def save_media_db(media_list: list):
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

from tqdm import tqdm

from src.model.Media import Media
from src.model.media import Media
from src.model.database import init_db, save_album_db, save_media_db
from src.api import download_and_save_media, get_album_list, get_media_list
from src.api import refresh_cookie as refresh_cookie_api
from src.configer import Configer
from src.PersistentCookies import PersistentCookies
from src.model.Album import Album
from src.model.album import Album
from src.manager import Manager
from InquirerPy import inquirer
import nest_asyncio
Expand Down

0 comments on commit 224e2f3

Please sign in to comment.