Re-did the caching layer for regionset chunk caching
This commit is contained in:
@@ -55,6 +55,7 @@ def validateRenderMode(mode):
|
||||
# make sure that mode is a list of things that are all rendermode primative
|
||||
if isinstance(mode, str):
|
||||
# Try and find an item named "mode" in the rendermodes module
|
||||
mode = mode.lower().replace("-","_")
|
||||
try:
|
||||
mode = getattr(rendermodes, mode)
|
||||
except AttributeError:
|
||||
|
||||
Reference in New Issue
Block a user