prepare #IAI70F app_travel_base服务语言先处理至旅游tags 置顶

This commit is contained in:
Ivan Office
2024-08-06 15:34:56 +08:00
parent ee6c2da2c6
commit c6b6664d86

View File

@@ -24,7 +24,7 @@ def app_relaxng(view_type):
relaxng_doc = etree.parse(frng)
_relaxng_cache[view_type] = etree.RelaxNG(relaxng_doc)
except Exception:
_logger.error(_('You can Ignore this. Failed to load RelaxNG XML schema for views validation, file: %s' % _file))
_logger.warning(_('You can Ignore this. Failed to load RelaxNG XML schema for views validation, file: %s' % _file))
_relaxng_cache[view_type] = None
return _relaxng_cache[view_type]