pwr/KSP — pull request #6 by akleiw (2012-05-15 19:14:32+00:00)
Title: Fixed format priority for books in multiple formats

Whenever a book was available both in mobi and pdf, KSP on my machine would serve a pdf version. The priority depended on order of items in the dict formats.CONTENT_TYPES, which is undefined.

features.supported_formats controls now which formats can be served and their order of preference.