miri64 / pycomicvine

A wrapper for comicvine.com
MIT License
20 stars 10 forks source link

Handle missing resources more gracefully. #4

Closed xchewtoyx closed 10 years ago

xchewtoyx commented 10 years ago

Currently if any comicvine resource type is not modelled then the Types class will raise an exception.

Add a default UnknownResource class, and map resources to this by default so that the module is not broken when Comicvine add new resources.