Commits

Kenneth Love  committed 322ac7c

added handler to keys view for zset.

  • Participants
  • Parent commits fe5e113

Comments (0)

Files changed (1)

         output = r.hgetall(key)
     elif rtype == 'set':
         output = r.smembers(key)
+    elif rtype == 'zset':
+        output = r.zrange(key, 0, -1, withscores=True)
     else:
         output = r.get(key)
     return render_template('key.html', key=key, output=output)