Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f6ad1c6

Browse files
committed
get the right urlparse from six.moves.
1 parent f60f811 commit f6ad1c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plotly/plotly/plotly.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,7 @@ def parse_grid_id_args(cls, grid, grid_url):
11461146
else:
11471147
supplied_arg_name = supplied_arg_names.pop()
11481148
if supplied_arg_name == 'grid_url':
1149-
path = six.moves.urllib.parse(grid_url).path
1149+
path = six.moves.urllib.parse.urlparse(grid_url).path
11501150
file_owner, file_id = path.replace("/~", "").split('/')[0:2]
11511151
return '{0}:{1}'.format(file_owner, file_id)
11521152
else:

0 commit comments

Comments
 (0)