Skip to content

Commit

Permalink
Prefering standard API over RunCmd for API-like calls. giface is for …
Browse files Browse the repository at this point in the history
…running tools based on direct user input.
  • Loading branch information
wenzeslaus committed Jan 27, 2025
1 parent 7a965a5 commit 99ddf21
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion gui/wxpython/core/gconsole.py
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,6 @@ def OnCmdDone(self, event):
for p in task.get_options()["flags"]:
if p.get("name") == "r" and p.get("value"):
action = "delete"
# TODO: Use giface here.
mask_full_name = gs.parse_command("r.mask.status", format="json")["name"]
mask_name, mask_mapset = mask_full_name.split("@", maxsplit=1)
gisenv = gs.gisenv()
Expand Down

0 comments on commit 99ddf21

Please sign in to comment.