|
@@ -484,13 +484,13 @@ if selected_platform in platform_list:
|
|
doc_path = config.get_doc_path()
|
|
doc_path = config.get_doc_path()
|
|
for c in doc_classes:
|
|
for c in doc_classes:
|
|
env.doc_class_path[c] = path + "/" + doc_path
|
|
env.doc_class_path[c] = path + "/" + doc_path
|
|
- except:
|
|
|
|
|
|
+ except Exception:
|
|
pass
|
|
pass
|
|
# Get icon paths (if present)
|
|
# Get icon paths (if present)
|
|
try:
|
|
try:
|
|
icons_path = config.get_icons_path()
|
|
icons_path = config.get_icons_path()
|
|
env.module_icons_paths.append(path + "/" + icons_path)
|
|
env.module_icons_paths.append(path + "/" + icons_path)
|
|
- except:
|
|
|
|
|
|
+ except Exception:
|
|
# Default path for module icons
|
|
# Default path for module icons
|
|
env.module_icons_paths.append(path + "/" + "icons")
|
|
env.module_icons_paths.append(path + "/" + "icons")
|
|
modules_enabled[name] = path
|
|
modules_enabled[name] = path
|