Skip to content

Commit

Permalink
fix themoviedb季不显示
Browse files Browse the repository at this point in the history
  • Loading branch information
jxxghp committed Mar 17, 2024
1 parent 5f80aa5 commit f2a40e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/core/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -615,11 +615,12 @@ def to_dict(self):
"""
返回字典
"""
self.clear()
dicts = asdict(self)
dicts["type"] = self.type.value if self.type else None
dicts["detail_link"] = self.detail_link
dicts["title_year"] = self.title_year
dicts["tmdb_info"] = None
dicts["douban_info"] = None
return dicts

def clear(self):
Expand Down

0 comments on commit f2a40e1

Please sign in to comment.