]> git.michaelhowe.org Git - packages/p/paho-mqtt.git/commitdiff
Fix import typo.
authorRoger Light <roger@atchoo.org>
Wed, 12 Feb 2014 21:41:35 +0000 (21:41 +0000)
committerRoger Light <roger@atchoo.org>
Wed, 12 Feb 2014 21:41:35 +0000 (21:41 +0000)
Change-Id: I1f077cdf41e32e08d69675d0f9afc23557f57fdc

examples/pub-single.py

index cbfca34f1df7f0a928b4bb49152bbf9507d1f6ce..9f93225bc4b2a42466cc84adbe4f87206c46ab6d 100755 (executable)
@@ -16,7 +16,7 @@
 
 import sys
 try:
-    import paho.mqtt.publish as mqtt
+    import paho.mqtt.publish as publish
 except ImportError:
     # This part is only required to run the example from within the examples
     # directory when the module itself is not installed.