1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-03 01:17:56 +03:00

fix lambda

This commit is contained in:
Adolfo Gómez García 2018-07-31 23:53:58 +02:00
parent cce00adc51
commit 6cee32d680

View File

@ -108,7 +108,7 @@ def allowCache(cachePrefix, cacheTimeout, cachingArgs=None, cachingKeyFnc=None):
First arg (self) is 0, so normally cachingArgs are 1, or [1,2,..]
"""
if not cachingKeyFnc:
cachingKeyFnc = lambda(x):''
cachingKeyFnc = lambda x:''
def allowCacheDecorator(fnc):