summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2013-07-08 01:58:29 (GMT)
committerChristian Pointner <equinox@spreadspace.org>2013-07-08 01:58:29 (GMT)
commit3d8443767d40bf89a17e7816923dec41a669189e (patch)
tree0c312e30e763b560a3ba68c7ab60643e94b09c8b
parentb41bb047096065b0d519779fe4f091737947e6f0 (diff)
reenabled downloader commands
git-svn-id: https://svn.spreadspace.org/pic/trunk@62 a09c6847-51d9-44de-8ef2-e725cf50f3c7
-rwxr-xr-xdownloader/downloader.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/downloader/downloader.py b/downloader/downloader.py
index 93877a6..459e0d2 100755
--- a/downloader/downloader.py
+++ b/downloader/downloader.py
@@ -347,7 +347,7 @@ Options:
dev = open_serial(device, baudrate)
id = cmd_identify(dev, name)
-# try:
-# commands[cmd](dev, id, args[0])
-# except KeyError:
-# print >> sys.stderr, "ERROR: unkown command '%s'" % cmd
+ try:
+ commands[cmd](dev, id, args[0])
+ except KeyError:
+ print >> sys.stderr, "ERROR: unkown command '%s'" % cmd