mirror of
https://github.com/vysecurity/LinkedInt.git
synced 2025-12-15 21:32:20 +01:00
commit
f5d92795be
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@ def get_search():
|
|||
data_total = content['elements'][0]['total']
|
||||
|
||||
# Calculate pages off final results at 40 results/page
|
||||
pages = data_total / 40
|
||||
pages = int(math.ceil(data_total / 40.0))
|
||||
|
||||
if pages == 0:
|
||||
pages = 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue