Permalink
Browse files

Fix Cache exceptions.

  • Loading branch information...
wagnerrp committed Apr 11, 2012
1 parent c35f455 commit 642de961e034072eaf6342c01451b040f0b9ab3b
Showing with 3 additions and 3 deletions.
  1. +3 −3 tmdb3/tmdb_exceptions.py
View
@@ -52,19 +52,19 @@ class TMDBCacheError( TMDBRequestError ):
class TMDBCacheReadError( TMDBCacheError ):
def __init__(self, filename):
- super(TMDBCachePermissionsError, self).__init__(
+ super(TMDBCacheReadError, self).__init__(
"User does not have permission to access cache file: {0}.".format(filename))
self.filename = filename
class TMDBCacheWriteError( TMDBCacheError ):
def __init__(self, filename):
- super(TMDBCachePermissionsError, self).__init__(
+ super(TMDBCacheWriteError, self).__init__(
"User does not have permission to write cache file: {0}.".format(filename))
self.filename = filename
class TMDBCacheDirectoryError( TMDBCacheError ):
def __init__(self, filename):
- super(TMDBCachePermissionsError, self).__init__(
+ super(TMDBCacheDirectoryError, self).__init__(
"Directory containing cache file does not exist: {0}.".format(filename))
self.filename = filename

0 comments on commit 642de96

Please sign in to comment.