mirror of
https://github.com/rachelos/we-mp-rss.git
synced 2026-09-21 13:50:34 +08:00
11 lines
331 B
Python
11 lines
331 B
Python
|
|
import os
|
|
from core.config import cfg
|
|
print(bool(cfg.get("server.auth_web", False)) )
|
|
if bool(cfg.get("server.auth_web", False)) == True:
|
|
from driver.wx import WX_API
|
|
from driver.wx import Wx as WX_InterFace
|
|
else:
|
|
from driver.wx_api import WeChat_api as WX_API
|
|
from driver.wx_api import WeChatAPI as WX_InterFace
|