From: Roger Light Date: Wed, 12 Feb 2014 21:41:35 +0000 (+0000) Subject: Fix import typo. X-Git-Tag: v0.9~23 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=28301743512141175f3ef6a84e1c2039c990c551;p=packages%2Fp%2Fpaho-mqtt.git Fix import typo. Change-Id: I1f077cdf41e32e08d69675d0f9afc23557f57fdc --- diff --git a/examples/pub-single.py b/examples/pub-single.py index cbfca34..9f93225 100755 --- a/examples/pub-single.py +++ b/examples/pub-single.py @@ -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.