fixing typo in searching path ci-scripts

This commit is contained in:
hardy
2020-08-31 15:24:45 +02:00
parent e2b19083e5
commit b67d4bd183
+2 -2
View File
@@ -3324,8 +3324,8 @@ import yaml
xml_class_list_file='' xml_class_list_file=''
if (os.path.isfile('xml_class_list.yml')): if (os.path.isfile('xml_class_list.yml')):
xml_class_list_file='xml_class_list.yml' xml_class_list_file='xml_class_list.yml'
elif (os.path.isfile('ci_scripts/xml_class_list.yml')): elif (os.path.isfile('ci-scripts/xml_class_list.yml')):
xml_class_list_file='ci_scripts/xml_class_list.yml' xml_class_list_file='ci-scripts/xml_class_list.yml'
else: else:
logging.error("XML action list yaml file cannot be found") logging.error("XML action list yaml file cannot be found")
sys.exit("XML action list yaml file cannot be found") sys.exit("XML action list yaml file cannot be found")