diff options
| author | Fuwn <[email protected]> | 2024-11-12 18:54:40 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-11-12 18:54:40 -0800 |
| commit | 634605be8a38165d32a6495026e6551cd09f4620 (patch) | |
| tree | 3b733884c9a76c85c5801d0610725667cee75cad | |
| parent | fix: null check job city (diff) | |
| download | ami-634605be8a38165d32a6495026e6551cd09f4620.tar.xz ami-634605be8a38165d32a6495026e6551cd09f4620.zip | |
| -rwxr-xr-x | ami.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -163,6 +163,9 @@ def print_job_table(): table_data = [] + if json_api_data["data"]["searchJobCardsByLocation"]["jobCards"] is None: + return + for job in json_api_data["data"]["searchJobCardsByLocation"]["jobCards"]: table_data.append( [ |