diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-05-25 12:15:03 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-06-12 08:49:06 +0200 |
commit | e9cce1be89f1dfb903b08eabcc921fc6ed4d236e (patch) | |
tree | c14672a832b1ff0eceeba2353a803daa1f640f26 /ishtar_common/models.py | |
parent | 10882ea43688d44ad5a5b5591e28d4936d09cd47 (diff) | |
download | Ishtar-e9cce1be89f1dfb903b08eabcc921fc6ed4d236e.tar.bz2 Ishtar-e9cce1be89f1dfb903b08eabcc921fc6ed4d236e.zip |
Fix profile migration (alays create a current)
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index e4c6d0e9a..a5bf6cf3a 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -2680,7 +2680,7 @@ class Person(Address, Merge, OwnPerms, ValueGetter): res = cache.get(cache_key) if res in (True, False): return res - # list all cache key in order to clean them on profiel change + # list all cache key in order to clean them on profile change cache_key_list = 'sessionlist-{}'.format(session.session_key) key_list = cache.get(cache_key_list, []) key_list.append(cache_key) |