• Jelle van der Waa's avatar
    fix(aurweb): resolve exception in ratelimit · 9497f6e6
    Jelle van der Waa authored
    Redis's get() method can return None which makes an RPC request error
    out:
    
      File "/srv/http/aurweb/aurweb/ratelimit.py", line 103, in check_ratelimit
        requests = int(requests.decode())
    AttributeError: 'NoneType' object has no attribute 'decode'
    9497f6e6