- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
def lookup(self, code):
"""
Looks up code in Redis
Returns None on failure
"""
url = self.redis.get(code)
try:
pass
except:
url = None
return url