ci: bugfix: known failure cases cannot read files

pull/6634/head
Fu Hanxi 2021-02-09 15:33:49 +08:00
rodzic 919e674f6e
commit 4ffd458ddd
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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():