wm.py needs import os in some of its execute funcs + now we can have blender2.60x version :)
I guess someone did a cleanup in the file and forgot to test "add an Add-On" ;) + a bug I found while studying the cmake files
This commit is contained in:
@@ -1683,6 +1683,7 @@ class WM_OT_addon_install(Operator):
|
||||
|
||||
@staticmethod
|
||||
def _module_remove(path_addons, module):
|
||||
import os
|
||||
module = os.path.splitext(module)[0]
|
||||
for f in os.listdir(path_addons):
|
||||
f_base = os.path.splitext(f)[0]
|
||||
@@ -1699,6 +1700,7 @@ class WM_OT_addon_install(Operator):
|
||||
import traceback
|
||||
import zipfile
|
||||
import shutil
|
||||
import os
|
||||
|
||||
pyfile = self.filepath
|
||||
|
||||
|
Reference in New Issue
Block a user