Skip to content

Commit

Permalink
more consistent PER_PAGE usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Henri Wahl committed Jan 13, 2021
1 parent dd44c5b commit 74c4170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seafadm
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ def get_data(data_url, mode='simple', section=''):
rows = list()
table = None
# sub-url as data-url gets anti-pagination-page-request added
soup = get_soup(SEAFILE_URL + data_url + '?per_page=%s' % PER_PAGE)
soup = get_soup(f'{SEAFILE_URL}{data_url}?per_page={PER_PAGE}')
# sections are headed by h3 headers or li list items and thus identifyable
h3s = soup.find_all('h3')
for h3 in h3s:
Expand Down

0 comments on commit 74c4170

Please sign in to comment.