Unverified Commit 5345aafc authored by decentral1se's avatar decentral1se
Browse files

Add missing `quote` import for Python 2.x

When running under Python 2.x, this import is missing and we get an
error when running anything with `etherdump pull`.
parent 4a8219b4
Pipeline #250 failed with stages
......@@ -6,7 +6,7 @@ from datetime import datetime
try:
# python2
from urllib2 import urlopen, URLError, HTTPError
from urllib import urlencode
from urllib import urlencode, quote
except ImportError:
# python3
from urllib.parse import urlencode, quote
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment