]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tools/tinyos/misc/tinyos.py
Add checks for the image format from tos_image.xml (problem reported by Jonathan...
[tinyos-2.x.git] / tools / tinyos / misc / tinyos.py
index b2b25478f1530e16f5ed8035d548f03cce0a9081..cf521e5fe8ac745e8473291a6918572facbf5a15 100644 (file)
@@ -54,7 +54,7 @@ class Serial:
         
         # Converts baud rate from platform name to value, if necessary
         try:
-            int(baudrate)
+            baudrate = int(baudrate)
         except:
             baudrate = __baud_rate.get(baudrate)