aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevendra2015-06-05 15:28:02 +0530
committerDevendra2015-06-05 15:28:02 +0530
commit0badbe24a3eeb65ffb8629d7cf020240f12c1e97 (patch)
treebd041832973107579bec0f8d8efbc983f4517ea0
parentb035230efdb08d0813f0300d949522d1d9fc4c27 (diff)
downloadpubnub-python-0badbe24a3eeb65ffb8629d7cf020240f12c1e97.tar.bz2
fix for grant
-rw-r--r--Pubnub.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Pubnub.py b/Pubnub.py
index b53056f..94e41a9 100644
--- a/Pubnub.py
+++ b/Pubnub.py
@@ -52,7 +52,7 @@ try:
except ImportError:
pass
-import urllib
+#import urllib
import socket
import sys
import threading
@@ -989,7 +989,7 @@ class PubnubBase(object):
ch for ch in list(bit)
]) for bit in request["urlcomponents"]])
if ("urlparams" in request):
- url = url + '?' + "&".join([x + "=" + urllib.quote(str(y), '') for x, y in request[
+ url = url + '?' + "&".join([x + "=" + str(y) for x, y in request[
"urlparams"].items() if y is not None and len(str(y)) > 0])
return url