fix pagecount
This commit is contained in:
parent
bcb7cfc4f3
commit
0d61661e5d
2
hn.py
2
hn.py
@ -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}')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user