Skip to content

Commit

Permalink
Correct cache file selection logic inverted by 4663490.
Browse files Browse the repository at this point in the history
  • Loading branch information
wagnerrp committed Mar 30, 2012
1 parent 166655c commit 75a14b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tmdb3/cache_file.py
Expand Up @@ -53,7 +53,7 @@ def parse_filename(filename):
if filename.startswith('~'): if filename.startswith('~'):
# check for home directory # check for home directory
return os.path.expanduser(filename) return os.path.expanduser(filename)
elif not filename.startswith('/'): elif filename.startswith('/'):
# check for absolute path # check for absolute path
return filename return filename
# return path with temp directory prepended # return path with temp directory prepended
Expand Down

0 comments on commit 75a14b7

Please sign in to comment.