Skip to content

Commit

Permalink
Merge pull request #5880 from mofanke/master
Browse files Browse the repository at this point in the history
Update handlers.py Remove or correct this useless self-assignment
  • Loading branch information
kevin-bates authored Nov 23, 2020
2 parents 32bd470 + af72fa1 commit 02024f0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion notebook/services/kernelspecs/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ def kernelspec_model(handler, name, spec_dict, resource_dir):
}

# Add resource files if they exist
resource_dir = resource_dir
for resource in ['kernel.js', 'kernel.css']:
if os.path.exists(pjoin(resource_dir, resource)):
d['resources'][resource] = url_path_join(
Expand Down

0 comments on commit 02024f0

Please sign in to comment.