diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-10-24 06:56:15 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-10-24 06:56:15 +0300 |
commit | 00f61a72b54d4abb5e692451cad3f8fd3925314e (patch) | |
tree | da173819f39b2682491853e11f8a6579a0bcfb2f | |
parent | 22602daa3df7fc4ee18d80475269dc3e9d1b082b (diff) |
Remove check for Python installation
We assume a full Python is available now
-rw-r--r-- | io_scene_x3d/import_x3d.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/io_scene_x3d/import_x3d.py b/io_scene_x3d/import_x3d.py index c67eba93..d2c18dd9 100644 --- a/io_scene_x3d/import_x3d.py +++ b/io_scene_x3d/import_x3d.py @@ -1406,12 +1406,8 @@ def x3d_parse(path): Sets up the root node and returns it so load_web3d() can deal with the blender side of things. Return root (x3dNode, '') or (None, 'Error String') """ - - try: - import xml.dom.minidom - import xml.sax - except: - return None, 'Error, import XML parsing module (xml.dom.minidom) failed, install python' + import xml.dom.minidom + import xml.sax ''' try: doc = xml.dom.minidom.parse(path) |