diff --git a/src/main/__main__.py b/src/main/__main__.py index 7eaca2df3f5bd932e3f9c793d9f18f10420cc0d7..ba74e83da687db91eb6b8680ea22290571e3522f 100755 --- a/src/main/__main__.py +++ b/src/main/__main__.py @@ -19,7 +19,13 @@ import sys from main import Console from xdevice import platform_logger -from xdevice.__main__ import check_report_template +try: + from xdevice.__main__ import check_report_template + is_check_report_template = True +except ImprotError: + is_check_report_template = False + + LOG = platform_logger("main")