Handle a case when spind doesn't return results
This commit is contained in:
parent
1f1762063d
commit
0a634ca8da
@ -73,8 +73,11 @@ def create():
|
||||
check=True,
|
||||
)
|
||||
|
||||
try:
|
||||
with open(os.path.join(temp_dir, "spind.txt")) as f_out:
|
||||
output_textarea.value = f_out.readlines()
|
||||
except FileNotFoundError:
|
||||
print("No results from spind")
|
||||
|
||||
process_button = Button(label="Process", button_type="primary")
|
||||
process_button.on_click(process_button_callback)
|
||||
|
Loading…
x
Reference in New Issue
Block a user