Skip to content

Commit

Permalink
gui: Fix using formatting for a string that does not have any interpo…
Browse files Browse the repository at this point in the history
…lated variables in core.menutree
  • Loading branch information
echoix committed Dec 23, 2024
1 parent 8f3b891 commit e9497b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gui/wxpython/core/menutree.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def collectParents(node, parents):
else:
import grass.script.core as gscore

gscore.fatal("Unknown value for parameter menu: " % menu)
gscore.fatal("Unknown value for parameter menu: %s" % menu)

if action == "strings":
menudata.PrintStrings(sys.stdout)
Expand All @@ -269,6 +269,6 @@ def collectParents(node, parents):
else:
import grass.script.core as gscore

gscore.fatal("Unknown value for parameter action: " % action)
gscore.fatal("Unknown value for parameter action: %s" % action)

sys.exit(0)

0 comments on commit e9497b3

Please sign in to comment.