Added max page number #47

Merged
davidpanic merged 5 commits from patch-2 into dev 2016-06-25 06:23:34 +00:00
davidpanic commented 2016-06-21 20:13:19 +00:00 (Migrated from github.com)
No description provided.
Dico200 commented 2016-06-21 20:36:35 +00:00 (Migrated from github.com)

Is this tested?

Is this tested?
davidpanic commented 2016-06-22 13:23:18 +00:00 (Migrated from github.com)

@Dico200 it is (now), forgot to math.ceil it

@Dico200 it is (now), forgot to math.ceil it
jomo commented 2016-06-22 13:31:33 +00:00 (Migrated from github.com)

Are you sure it's tested? Looks like integer division to me, so math.ceil would have no effect.

Are you sure it's tested? Looks like integer division to me, so math.ceil would have no effect.
jomo commented 2016-06-22 13:34:34 +00:00 (Migrated from github.com)

Would this work?

"…" % (arg1 + 1, int(math.ceil(len(lols) / float(list_limit))))
Would this work? ``` py "…" % (arg1 + 1, int(math.ceil(len(lols) / float(list_limit)))) ```
davidpanic commented 2016-06-22 13:34:54 +00:00 (Migrated from github.com)

oh shite i tested in python3 xD
yep

oh shite i tested in python3 xD yep
davidpanic commented 2016-06-22 13:35:09 +00:00 (Migrated from github.com)

lemme just make another commit

lemme just make another commit
jomo commented 2016-06-22 13:36:45 +00:00 (Migrated from github.com)

You don't need the str calls though

You don't need the `str` calls though
This repo is archived. You cannot comment on pull requests.
No reviewers
No Milestone
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Redstoner/redstoner-utils#47
No description provided.