Merge pull request #5880 from mofanke/master

Update handlers.py Remove or correct this useless self-assignment
This commit is contained in:
Kevin Bates 2020-11-23 06:45:11 -08:00 committed by GitHub
commit 02024f0b9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(