Fix crash on later pages
This commit is contained in:
parent
0abdfeef57
commit
ed5bb667bf
@ -434,7 +434,10 @@ class AnimeUltime(Connector):
|
||||
sort_type = 'search'
|
||||
|
||||
if self.return_type is ConnectorReturn.HISTORY:
|
||||
try:
|
||||
page_date = datetime.now() - timedelta((int(self.page) - 1) * 365 / 12)
|
||||
except OverflowError:
|
||||
page_date = datetime.fromtimestamp(0)
|
||||
from_date = page_date.strftime('%m%Y')
|
||||
sort_type = 'history'
|
||||
|
||||
|
Reference in New Issue
Block a user