oops need to actually call MapUpdate.current_cache_key()
This commit is contained in:
parent
d42cd01e95
commit
d029114ef0
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ class ColorManager:
|
|||
@classmethod
|
||||
def for_theme(cls, theme):
|
||||
from c3nav.mapdata.models import MapUpdate
|
||||
if cls.cache_key != MapUpdate.current_cache_key:
|
||||
if cls.cache_key != MapUpdate.current_cache_key():
|
||||
cls.default_theme = None
|
||||
cls.themes = {}
|
||||
if theme is None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue