Skip to content

Commit

Permalink
PyGRASS is now default for Python export
Browse files Browse the repository at this point in the history
  • Loading branch information
landam committed Jan 23, 2024
1 parent 25f007f commit 1f1708e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gui/wxpython/core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -877,8 +877,8 @@ def _internalSettings(self):
)

self.internalSettings["modeler"]["grassAPI"]["choices"] = (
_("Script package"),
_("PyGRASS"),
_("Script package"),
)

def ReadSettingsFile(self, settings=None):
Expand Down
2 changes: 1 addition & 1 deletion gui/wxpython/gmodeler/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -2107,7 +2107,7 @@ def RefreshScript(self):
self.write_object(
fd,
self.parent.GetModel(),
grassAPI="script" if grassAPI == 0 else "pygrass",
grassAPI="pygrass" if grassAPI == 0 else "script",
)

fd.seek(0)
Expand Down

0 comments on commit 1f1708e

Please sign in to comment.