Skip to content

Commit

Permalink
changes suggested by pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
schiebel committed Feb 3, 2025
1 parent 29e72e9 commit aecc6eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion casagui/apps/_createmask.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
from casagui.toolbox import CubeMask, AppContext
from casagui.bokeh.utils import svg_icon
from bokeh.io import reset_output as reset_bokeh_output
from bokeh.io import output_notebook
from bokeh.models.dom import HTML
from bokeh.models.ui.tooltips import Tooltip
from ..utils import resource_manager, reset_resource_manager, is_notebook
Expand Down Expand Up @@ -448,7 +449,7 @@ def __retrieve_result( self ):
GUI dialog between Python and JavaScript and this function would return it'''
if isinstance(self._error_result,Exception):
raise self._error_result
elif self._error_result is not None:
if self._error_result is not None:
return self._error_result
return self._paths

Expand Down

0 comments on commit aecc6eb

Please sign in to comment.