PEP8 formatting
This commit is contained in:
parent
2ba52e2467
commit
4edbcd6a98
@ -398,7 +398,8 @@ def view_node(project_url, node_id):
|
||||
raise wz_exceptions.NotFound('No such node')
|
||||
|
||||
try:
|
||||
project = Project.find_one({'where': {"url": project_url, '_id': node.project}}, api=api)
|
||||
project = Project.find_one({'where': {"url": project_url, '_id': node.project}},
|
||||
api=api)
|
||||
except ResourceNotFound:
|
||||
# In theatre mode, we don't need access to the project at all.
|
||||
if theatre_mode:
|
||||
|
Loading…
x
Reference in New Issue
Block a user