fab31  committed 7f46b6a

allow wasp to be debugged as well

  • Participants
  • Parent commits 33556e3
  • Tags 0.9-rc3

Comments (0)

Files changed (1)

File zicbee/wasp/

 from functools import partial
 from zicbee_lib.commands import commands, execute
 from zicbee_lib.config import config, DB_DIR
+from zicbee_lib.debug import DEBUG
 def complete_command(name, completer, cur_var, line, s, e):
                 ret = execute(cmd,arg)
         except Exception, e:
             print "Err: %s"%e
+            DEBUG()
         except KeyboardInterrupt:
             print "Interrupted!"