diff options
| author | Shyam Sunder | 2020-06-03 11:55:50 -0400 |
|---|---|---|
| committer | Shyam Sunder | 2020-06-03 11:55:50 -0400 |
| commit | b0f1b8c2309277a7b170972d463b4e8d16a79ecc (patch) | |
| tree | 564f6f7dd1a2d78f3a00bb4372fb4ca2b95bb6c5 /server/szurubooru/api | |
| parent | 1be947e9462edf3bb0a8d15172e0c6e0190e0482 (diff) | |
fix python lint issues
Diffstat (limited to 'server/szurubooru/api')
| -rw-r--r-- | server/szurubooru/api/pool_api.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/szurubooru/api/pool_api.py b/server/szurubooru/api/pool_api.py index 3d4f74c..9627ed2 100644 --- a/server/szurubooru/api/pool_api.py +++ b/server/szurubooru/api/pool_api.py @@ -17,7 +17,8 @@ def _get_pool(params: Dict[str, str]) -> model.Pool: @rest.routes.get('/pools/?') -def get_pools(ctx: rest.Context, _params: Dict[str, str] = {}) -> rest.Response: +def get_pools( + ctx: rest.Context, _params: Dict[str, str] = {}) -> rest.Response: auth.verify_privilege(ctx.user, 'pools:list') return _search_executor.execute_and_serialize( ctx, lambda pool: _serialize(ctx, pool)) |