Closed cmcknight closed 5 years ago
You caught a fun corner case. I just uploaded a fix that I think will resolve the issue. I am also going to be pushing an update to the book here shortly
Confirming that this fixed it. 👍
I should make some challenge coins for people like you. Beeware has some really neat ones
In the split_panel.py code in the book:
In the repo code:
I'm also getting an index out of range error that I'm trying to track down.
Update: I'm trying to split a 2-page PDF to keep the first test simple. I'm either getting the above error or I'm told that the method is getting 1 value when it expects 2 if I just specify a single page to split out.