Commit e67e6fe3 authored by Keegi's avatar Keegi

Fix command to list macros

parent e7cad93e
...@@ -577,7 +577,7 @@ class pronsole(cmd.Cmd): ...@@ -577,7 +577,7 @@ class pronsole(cmd.Cmd):
self.logError("Macro '"+macro_name+"' is not defined") self.logError("Macro '"+macro_name+"' is not defined")
def do_macro(self, args): def do_macro(self, args):
if args.strip()=="": if args.strip()=="":
self.print_topics("User-defined macros", self.macros.keys(), 15, 80) self.print_topics("User-defined macros", map(str,self.macros.keys()), 15, 80)
return return
arglist = args.split(None, 1) arglist = args.split(None, 1)
macro_name = arglist[0] macro_name = arglist[0]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment