Commit 2df393cc authored by Raymond Hettinger's avatar Raymond Hettinger

Fix nit.

parent c90d02c9
...@@ -60,7 +60,7 @@ def _find_module(fullname, path=None): ...@@ -60,7 +60,7 @@ def _find_module(fullname, path=None):
pass pass
else: else:
file = None 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 return file, filename, descr
class EditorWindow(object): class EditorWindow(object):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment