Commit f237c8e
committed
Fix bug on teardown of uncessful setup
If the console fails to set itself up properly, python will complain
about `console` not existing in the teardown code. This fixes that
by checking if `console` is not `None` in the teardown code`.1 parent bedcb93 commit f237c8e
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
94 | | - | |
| 95 | + | |
| 96 | + | |
0 commit comments