OSGeo / tilecache

Tilecache
35 stars 18 forks source link

[Redis] Perform Type Casts On Floats #11

Closed etscrivner closed 9 years ago

etscrivner commented 9 years ago

This fixes a type-error I found happens if the default floating point values are used. The underlying redis library expects integers and so will raise a TypeError. We now simply cast these values to integers to ensure they are always of the correct type.