mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-08-25 02:00:13 +08:00
fix downloaders
This commit is contained in:
@@ -37,10 +37,13 @@ class WeChat:
|
||||
# 企业微信创新菜单URL
|
||||
_create_menu_url = "/cgi-bin/menu/create?access_token=%s&agentid=%s"
|
||||
|
||||
def __init__(self, corpid: str = None, appsecret: str = None, appid: str = None, proxy: str = None):
|
||||
def __init__(self, corpid: str, appsecret: str, appid: str, proxy: str = None, **kwargs):
|
||||
"""
|
||||
初始化
|
||||
"""
|
||||
if not corpid or not appsecret or not appid:
|
||||
logger.error("企业微信配置不完整!")
|
||||
return
|
||||
self._corpid = corpid
|
||||
self._appsecret = appsecret
|
||||
self._appid = appid
|
||||
|
||||
Reference in New Issue
Block a user