mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-04-09 05:39:03 +08:00
fix Config reload
This commit is contained in:
@@ -37,7 +37,6 @@ from app.utils.crypto import HashUtils
|
||||
from app.utils.http import RequestUtils
|
||||
from app.utils.security import SecurityUtils
|
||||
from app.utils.url import UrlUtils
|
||||
from core.event import eventmanager
|
||||
from version import APP_VERSION
|
||||
|
||||
router = APIRouter()
|
||||
@@ -231,10 +230,6 @@ def set_env_setting(env: dict,
|
||||
}
|
||||
)
|
||||
|
||||
if success_updates:
|
||||
for key, value in success_updates.items():
|
||||
eventmanager.send_event()
|
||||
|
||||
return schemas.Response(
|
||||
success=True,
|
||||
message="所有配置项更新成功",
|
||||
|
||||
Reference in New Issue
Block a user