Show More
@@ -1107,5 +1107,5 b' def open_template(name, templatepath=Non' | |||||
1107 | name, |
|
1107 | name, | |
1108 | resourceutil.open_resource(package_name, name_parts[-1]), |
|
1108 | resourceutil.open_resource(package_name, name_parts[-1]), | |
1109 | ) |
|
1109 | ) | |
1110 |
except ( |
|
1110 | except (ImportError, OSError): | |
1111 | return None, None |
|
1111 | return None, None |
General Comments 0
You need to be logged in to leave comments.
Login now