This commit is contained in:
Raymond Hettinger 2011-04-12 18:58:40 -07:00
commit ec78bc8e05
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ def _find_module(fullname, path=None):
pass
else:
file = None
descr = os.path.splitext(filename), None, imp.PY_SOURCE
descr = os.path.splitext(filename)[1], None, imp.PY_SOURCE
return file, filename, descr
class EditorWindow(object):