fix #167
This commit is contained in:
@ -36,7 +36,10 @@ class SubscribeOper(DbOper):
|
||||
"""
|
||||
判断是否存在
|
||||
"""
|
||||
return True if Subscribe.exists(self._db, tmdbid=tmdbid, season=season) else False
|
||||
if season:
|
||||
return True if Subscribe.exists(self._db, tmdbid=tmdbid, season=season) else False
|
||||
else:
|
||||
return True if Subscribe.exists(self._db, tmdbid=tmdbid) else False
|
||||
|
||||
def get(self, sid: int) -> Subscribe:
|
||||
"""
|
||||
|
Reference in New Issue
Block a user