hamaxx / uasparser2

Fast and reliable User Agent parser for python
Other
31 stars 13 forks source link

Added path to cache permission exception #3

Closed brcooley closed 11 years ago

brcooley commented 11 years ago

When uasparser doesn't have write permission on the cache directory, it raises an exception, but was printing a literal '%s' as the cache directory wasn't given to the string. This fixes that so when the exception is raised, it prints the directory that uasparser does not have write permission to.

hamaxx commented 11 years ago

Thanks!