Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Move glob to global level import.

  • Loading branch information...
commit 0e2ee7f3772004043292956e86dcd0c8a6a12c42 1 parent a2b246f
@stefanv stefanv authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  IPython/frontend/html/notebook/notebookmanager.py
View
3  IPython/frontend/html/notebook/notebookmanager.py
@@ -19,6 +19,7 @@
import datetime
import os
import uuid
+import glob
from tornado import web
@@ -52,8 +53,6 @@ def list_notebooks(self):
dict(notebook_id=notebook,name=name)
"""
- import glob
-
names = glob.glob(os.path.join(self.notebook_dir,
'*' + self.filename_ext))
names = [os.path.splitext(os.path.basename(name))[0]
Please sign in to comment.
Something went wrong with that request. Please try again.