Browse Source

fix error message for out-of-range arguments

master
adam j hartz 2 years ago
parent
commit
46df28258f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      takoshell/environ.py

+ 1
- 1
takoshell/environ.py View File

@@ -303,7 +303,7 @@ class Env(MutableMapping):
303 303
             args = self._d['ARGS']
304 304
             ix = int(m.group(1))
305 305
             if ix >= len(args):
306
-                e = "Not enough arguments given to access ARG{0}."
306
+                e = "Not enough arguments given to access ${0}."
307 307
                 raise KeyError(e.format(ix))
308 308
             val = self._d['ARGS'][ix]
309 309
         elif key in self._d:

Loading…
Cancel
Save