Skip to content

Commit

Permalink
grass.script: Fix missing passing of env parameter (#3684)
Browse files Browse the repository at this point in the history
  • Loading branch information
wenzeslaus authored May 3, 2024
1 parent c783f5d commit ca32ace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/grass/script/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ def fatal(msg, env=None):
if raise_on_error:
raise ScriptError(msg)

error(msg, env=None)
error(msg, env=env)
sys.exit(1)


Expand Down

0 comments on commit ca32ace

Please sign in to comment.