PEP8 formatting
This commit is contained in:
parent
ee95abb62a
commit
3094a09fec
@ -23,7 +23,6 @@ log = logging.getLogger(__name__)
|
|||||||
|
|
||||||
|
|
||||||
def keep_fetching_texture_libraries(proj_filter):
|
def keep_fetching_texture_libraries(proj_filter):
|
||||||
|
|
||||||
groups = g.current_user['groups']
|
groups = g.current_user['groups']
|
||||||
user_id = g.current_user['user_id']
|
user_id = g.current_user['user_id']
|
||||||
|
|
||||||
@ -64,7 +63,7 @@ def texture_libraries():
|
|||||||
# Use Eve method so that we get filtering on permissions for free.
|
# Use Eve method so that we get filtering on permissions for free.
|
||||||
# This gives all the projects that contain the required node types.
|
# This gives all the projects that contain the required node types.
|
||||||
|
|
||||||
request.args = MultiDict(request.args) # allow changes; it's an ImmutableMultiDict by default.
|
request.args = MultiDict(request.args) # allow changes; it's an ImmutableMultiDict by default.
|
||||||
request.args.setlist(eve_config.QUERY_PROJECTION, [TL_PROJECTION])
|
request.args.setlist(eve_config.QUERY_PROJECTION, [TL_PROJECTION])
|
||||||
request.args.setlist(eve_config.QUERY_SORT, [TL_SORT])
|
request.args.setlist(eve_config.QUERY_SORT, [TL_SORT])
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user