Skip to content

Commit

Permalink
fix exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Arohan Ajit authored and Arohan Ajit committed Oct 24, 2024
1 parent 64c2ff0 commit 1362a1c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gui/wxpython/photo2image/ip2i_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
from gui_core.mapdisp import FrameMixin
from core.gcmd import RunCommand, GMessage, GError, GWarning
from core.settings import UserSettings
from grass.exceptions import CalledModuleError
from photo2image.ip2i_mapdisplay import MapPanel
from gui_core.wrap import (
SpinCtrl,
Expand Down Expand Up @@ -164,7 +163,7 @@ def __init__(
if p.returncode == 0:
print("returncode = ", str(p.returncode))
self.Map.region = self.Map.GetRegion()
except CalledModuleError:
except Exception:
pass

self.SwitchEnv("source")
Expand Down

0 comments on commit 1362a1c

Please sign in to comment.