This commit is contained in:
jxxghp
2023-07-11 07:21:48 +08:00
parent bfddd98ae2
commit 8a4a66dec4
7 changed files with 35 additions and 24 deletions

View File

@ -55,9 +55,6 @@ class TorrentInfo:
# 种子优先级
pri_order: int = 0
def __getattr__(self, attribute):
return None
def __setattr__(self, name: str, value: Any):
self.__dict__[name] = value
@ -175,9 +172,6 @@ class MediaInfo:
if self.douban_info:
self.set_douban_info(self.douban_info)
def __getattr__(self, attribute):
return None
def __setattr__(self, name: str, value: Any):
self.__dict__[name] = value
@ -518,9 +512,6 @@ class Context:
# 种子信息
torrent_info: TorrentInfo = None
def __getattr__(self, attribute):
return None
def __setattr__(self, name: str, value: Any):
self.__dict__[name] = value