diff options
| author | Devendra | 2014-03-24 19:17:48 +0530 |
|---|---|---|
| committer | Devendra | 2014-03-24 19:17:48 +0530 |
| commit | 80edcffbfe140a6d19c65deca24e1ba1c0f49b99 (patch) | |
| tree | 4ece6bf2a480866f1028a5765a1fac0cabb68752 /python/examples/subscribe-example.py | |
| parent | 0874d7b862d8cff1c6d01f3d804a2509e181c959 (diff) | |
| download | pubnub-python-80edcffbfe140a6d19c65deca24e1ba1c0f49b99.tar.bz2 | |
support for python3
Diffstat (limited to 'python/examples/subscribe-example.py')
| -rwxr-xr-x | python/examples/subscribe-example.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/python/examples/subscribe-example.py b/python/examples/subscribe-example.py index 14a43d9..a67a08f 100755 --- a/python/examples/subscribe-example.py +++ b/python/examples/subscribe-example.py @@ -1,5 +1,6 @@ import sys -sys.path.append('../') +sys.path.append('..') +sys.path.append('.') import threading import time import random @@ -59,7 +60,7 @@ publish() print("waiting for subscribes and presence") pres_thread.join() -print pubnub.here_now({'channel':channel}) +print(pubnub.here_now({'channel':channel})) sub_thread.join() |
