Skip to content

Commit

Permalink
libpython: fix create new project (location) (#3588)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmszi committed Apr 12, 2024
1 parent 73aadd7 commit f877fb8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/grass/script/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1700,6 +1700,9 @@ def mapsets(search_path=False, env=None):


def create_location(*args, **kwargs):
if "dbase" in kwargs:
kwargs["path"] = kwargs["dbase"]
del kwargs["dbase"]
if "location" in kwargs:
kwargs["name"] = kwargs["location"]
del kwargs["location"]
Expand Down

0 comments on commit f877fb8

Please sign in to comment.