thadeusb/flask-cache — pull request #18 by adorsk (2012-03-23 15:54:50+00:00)
Title: Swapped Conditional order for key_prefix

Hi,

Very useful plugin, thanks for making this.

Just a swap of the conditionals on key_prefix. Otherwise using a callable for key_prefix makes things bork, because can't use the 'in' operator on a callable.