diff options
author | Pjotr Prins | 2016-06-17 06:15:59 +0000 |
---|---|---|
committer | Pjotr Prins | 2016-06-17 06:15:59 +0000 |
commit | 9ed3c1e6ed99c56d77fd5d90ff42f9acfe7ace68 (patch) | |
tree | fabca0ec5073e2c17da425eeeb7e40a9e15c564f /wqflask/utility/temp_data.py | |
parent | 497b72d3496b9368167616774e58250598d7bd83 (diff) | |
download | genenetwork2-9ed3c1e6ed99c56d77fd5d90ff42f9acfe7ace68.tar.gz |
Removed trailing spaces in .py and .js files
Diffstat (limited to 'wqflask/utility/temp_data.py')
-rwxr-xr-x | wqflask/utility/temp_data.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wqflask/utility/temp_data.py b/wqflask/utility/temp_data.py index 004d45c6..5bf700c9 100755 --- a/wqflask/utility/temp_data.py +++ b/wqflask/utility/temp_data.py @@ -4,16 +4,16 @@ from redis import Redis import simplejson as json class TempData(object): - + def __init__(self, temp_uuid): self.temp_uuid = temp_uuid self.redis = Redis() self.key = "tempdata:{}".format(self.temp_uuid) - + def store(self, field, value): self.redis.hset(self.key, field, value) self.redis.expire(self.key, 60*15) # Expire in 15 minutes - + def get_all(self): return self.redis.hgetall(self.key) |