Skip to content

Commit

Permalink
Unqualifying map name in Python needs a function
Browse files Browse the repository at this point in the history
  • Loading branch information
wenzeslaus committed Jan 30, 2025
1 parent 43c3476 commit bbd6ae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/r.mask/r.mask.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def main():
mask_full_name = mask_status["name"]

# Does the name point to the current mapset?
name, mask_mapset = mask_full_name.split("@", maxsplit=2)
name, mask_mapset = mask_full_name.split("@", maxsplit=1)
if mask_mapset != mapset:
gs.fatal(
_(
Expand Down

0 comments on commit bbd6ae0

Please sign in to comment.