Skip to content

Commit 397fcf4

Browse files
author
Alex Schworer
committed
Remove dependency on urllib.urlencode
1 parent 23d5da2 commit 397fcf4

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

zencoder/core.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import os
22
import requests
3-
from urllib import urlencode
43
from datetime import datetime
54

65
LIB_VERSION = '0.5.2'
@@ -90,10 +89,6 @@ def get(self, url, data=None):
9089
9190
data should be a dictionary of url parameters
9291
"""
93-
if data:
94-
params = urlencode(data)
95-
url = '?'.join([url, params])
96-
9792
response = self.http.get(url, headers=self.headers, params=data)
9893
return self.process(response)
9994

0 commit comments

Comments
 (0)