aeonfunding update for wownero

a lot more generic; a lot more configurable; UI goodness with accounting; wallet account support for ezmode
This commit is contained in:
CamTheGeek 2018-09-05 18:27:26 -04:00
parent f473a4234e
commit 955de2544e
19 changed files with 361 additions and 173 deletions

View file

@ -4,7 +4,7 @@ import redis
from flask_session import RedisSessionInterface
import settings
from wowfunding.bin.utils import json_encoder
from funding.bin.utils import json_encoder
def redis_args():
@ -58,4 +58,4 @@ class WowCache:
return {}
def set(self, key: str, data: dict, expiry = 300):
self._cache.set(key, json.dumps(data, default=json_encoder), ex=expiry)
self._cache.set(key, json.dumps(data, default=json_encoder), ex=expiry)