diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-06-11 16:13:45 +1000 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-06-11 18:15:54 +1000 |
| commit | 5dc1ef81d352ac90f6ad1092ccbaa21dc074146d (patch) | |
| tree | 5177883ba5728553740cd53642f416c70847be5b /backend/data | |
| parent | 27836e991cc3c2598ebef6d3b683caa70b039ddf (diff) | |
Adjust server+client code to handle merged image sets
Diffstat (limited to 'backend/data')
| -rwxr-xr-x | backend/data/genImgsForWeb.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/data/genImgsForWeb.py b/backend/data/genImgsForWeb.py index de8ce1b..aa485bb 100755 --- a/backend/data/genImgsForWeb.py +++ b/backend/data/genImgsForWeb.py @@ -78,6 +78,9 @@ with open(imgListFile) as file: if completedProcess.returncode < 0: print("Exiting due to interrupted subprocess") break + elif completedProcess.returncode > 0: + print(f"Exiting due to subprocess exit status {completedProcess.returncode}") + break convertedImage = True # Add entry to db fromEol = imgPath.startswith("eol/") |
