Commit 7adbbad05e7c77af831882f203b4046d39982e82
1 parent
db494172
Exists in
master
No-gui was not working (fix #280)
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
invesalius/data/vtk_utils.py
... | ... | @@ -46,7 +46,7 @@ def ShowProgress(number_of_filters = 1, |
46 | 46 | if (dialog_type == "ProgressDialog"): |
47 | 47 | try: |
48 | 48 | dlg = ProgressDialog(wx.GetApp().GetTopWindow(), 100) |
49 | - except wx._core.PyNoAppError: | |
49 | + except (wx._core.PyNoAppError, AttributeError): | |
50 | 50 | return lambda obj, label: 0 |
51 | 51 | |
52 | 52 | ... | ... |