mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
Update handlers.py
Remove or correct this useless self-assignment
This commit is contained in:
parent
32bd47068b
commit
af72fa1cc7
@ -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