diff --git a/AutoBuild/tw_165.py b/AutoBuild/tw_165.py index 8c741d4..4bf7f6b 100644 --- a/AutoBuild/tw_165.py +++ b/AutoBuild/tw_165.py @@ -23,6 +23,7 @@ def main(): r_json = r.json()['result']['records'] except (JSONDecodeError, KeyError): logger.critical('Parse JSON Err') + raise # check if file exists filename = 'TW165.txt'