fix: 清空 MediaServerItem 表

This commit is contained in:
WithdewHua
2023-12-02 12:30:43 +08:00
parent d2c9f7a778
commit 024f1de4f1
3 changed files with 9 additions and 5 deletions

View File

@ -52,7 +52,7 @@ class MediaServerChain(ChainBase):
# 汇总统计
total_count = 0
# 清空登记薄
self.dboper.empty(server=settings.MEDIASERVER)
self.dboper.empty()
# 同步黑名单
sync_blacklist = settings.MEDIASERVER_SYNC_BLACKLIST.split(
",") if settings.MEDIASERVER_SYNC_BLACKLIST else []