correcting pixiv connection functionality
This commit is contained in:
@@ -207,7 +207,7 @@ async def _download_source_async(source_id: int, download_id: int = None) -> dic
|
||||
cookies_path = None
|
||||
auth_token = None
|
||||
|
||||
if source_platform == "discord":
|
||||
if source_platform in ("discord", "pixiv"):
|
||||
auth_token = await cred_manager.get_token(source_platform)
|
||||
if not auth_token:
|
||||
logger.warning(f"No token for {source_platform}, download may fail")
|
||||
|
||||
Reference in New Issue
Block a user