mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-24 12:05:22 +08:00
Merge pull request #5880 from mofanke/master
Update handlers.py Remove or correct this useless self-assignment
This commit is contained in:
commit
02024f0b9a
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user