1. John Chandler
  2. django-fluidproxy

Commits

John Chandler  committed bfdf21d

Fixed mistake

  • Participants
  • Parent commits 3027672
  • Branches default

Comments (0)

Files changed (1)

File fluidproxy/django_fluidproxy.py

View file
  • Ignore whitespace
     def get( self, path ):
         """ Make a proxied FluidDB API call """
         key   = generate_cache_key(path)
-        value = cache.get( generate_cache_key(path) )
+        value = cache.get( key )
         if not value:
             value = self.fluid.db( "GET", path ).value
             cache.set( key, value, random.choice(CACHE_TIMEOUTS) )