Skip to content

Commit 134d08d

Browse files
committed
fix a py3 compat issue
1 parent e2cc4b5 commit 134d08d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

wes_client/util.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@
99
import logging
1010

1111
from wes_service.util import visit
12-
from urllib import urlopen
12+
13+
from future.standard_library import hooks
14+
15+
with hooks():
16+
from urllib.request import pathname2url
1317

1418

1519
def two_seven_compatible(filePath):

0 commit comments

Comments
 (0)