浏览代码

fix for new import syntax

Darren Ranalli 21 年之前
父节点
当前提交
d538b36c30
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      direct/src/directscripts/python-mode.el

+ 1 - 1
direct/src/directscripts/python-mode.el

@@ -3360,7 +3360,7 @@ comint believe the user typed this string so that
   (interactive)
   (let ((curbuf (current-buffer))
 	(procbuf (process-buffer proc))
-	(cmd (format "import Finder; Finder.rebindClass(__builtins__.globals(), r'%s')\n" filename))
+	(cmd (format "from direct.showbase import Finder; Finder.rebindClass(__builtins__.globals(), r'%s')\n" filename))
 	)
 
 	  ;; Goto the python buffer