47fa3cd keygen: remove redundant error handler

1 file Authored by frostyx 2 years ago, Committed by praiskup 2 years ago,
    keygen: remove redundant error handler
    
    Fixing the following pylint warning:
    
        E0102[function-redefined]: handle_invalid_usage:
        function already defined line 132
    
    We could rename one of the error handler functions, but we can IMHO
    drop one of them and simply put multiple `@app.errorhandler`
    decorators to one function.
    
    Merges: #2251