ci: bugfix: known failure cases cannot read files

This commit is contained in:
Fu Hanxi 2021-02-09 15:33:49 +08:00
parent 919e674f6e
commit 4ffd458ddd

View File

@ -52,7 +52,7 @@ class Runner(threading.Thread):
@staticmethod
def _get_config_cases(config_file):
res = set()
if not config_file or os.path.isfile(config_file):
if not config_file or not os.path.isfile(config_file):
return res
for line in open(config_file).readlines():