aboutsummaryrefslogtreecommitdiffstats
path: root/python-twisted/tests/benchmark.py
diff options
context:
space:
mode:
Diffstat (limited to 'python-twisted/tests/benchmark.py')
-rw-r--r--python-twisted/tests/benchmark.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/python-twisted/tests/benchmark.py b/python-twisted/tests/benchmark.py
index d4d6d80..b6477c0 100644
--- a/python-twisted/tests/benchmark.py
+++ b/python-twisted/tests/benchmark.py
@@ -12,8 +12,7 @@
import sys
import datetime
from twisted.internet import reactor
-sys.path.append('../')
-from Pubnub import Pubnub
+from Pubnub import PubnubTwisted as Pubnub
publish_key = len(sys.argv) > 1 and sys.argv[1] or 'demo'
subscribe_key = len(sys.argv) > 2 and sys.argv[2] or 'demo'