fix pagecount

This commit is contained in:
Felix Pankratz 2023-08-31 23:17:09 +02:00
parent bcb7cfc4f3
commit 0d61661e5d

2
hn.py
View File

@ -87,7 +87,7 @@ class Client:
page = int(self.story_pos / self.stories_in_a_site + 1)
total_pages = math.ceil(len(self.loadedstories)/500)
total_pages = math.ceil(500/len(self.loadedstories))
self.set_footer(f'Page {page}/{total_pages}, loaded {len(self.loadedstories)} stories.')
#self.set_footer(f'{self.loadedstories}')