fix pagecount

master
Felix Pankratz 1 year ago
parent bcb7cfc4f3
commit 0d61661e5d

@ -87,7 +87,7 @@ class Client:
page = int(self.story_pos / self.stories_in_a_site + 1) 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'Page {page}/{total_pages}, loaded {len(self.loadedstories)} stories.')
#self.set_footer(f'{self.loadedstories}') #self.set_footer(f'{self.loadedstories}')

Loading…
Cancel
Save