fix #303
This commit is contained in:
jxxghp 2023-08-29 12:11:25 +08:00
parent 96fc32efd0
commit d0a92531ac
2 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@ def upgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.execute("delete from systemconfig where key = 'RssSites';")
op.execute("insert into systemconfig(key, value) VALUES('RssSites', (select value from systemconfig where key= 'IndexerSites'));")
op.execute("delete from systemconfig where key = 'SearchResults';")
# ### end Alembic commands ###

View File

@ -344,7 +344,7 @@ class TransferChain(ChainBase):
# 整合数据
if mtype:
meta.type = mtype
if season:
if season is not None:
meta.begin_season = season
# 识别媒体信息
mediainfo: MediaInfo = self.mediachain.recognize_media(tmdbid=tmdbid, mtype=mtype)