"Violent Python" ebook: all code set in proportional, serif font

I just purchased the ebook version of "Violent Python", a book about using python for pen testing. Unfortunately, all of the code seems to be set in a proportional (rather than monospace) font. In the best of times, this makes code difficult to read; for python, it's a particular drag since indentation is significant to the block structure. Is there any way to fix this?
1 person has
this problem