Skip to content

Commit cdc5a91

Browse files
committed
Merge branch 'master' of github.com:plotly/plotly.py into np2
2 parents f8c7144 + 0dd8b19 commit cdc5a91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chart_studio/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def _get_embed_url(file_owner_or_url, file_id=None):
287287
"The 'file_id' argument must be a non-negative number."
288288
)
289289

290-
if share_key is "":
290+
if share_key == "":
291291
return "{plotly_rest_url}/~{file_owner}/{file_id}.embed".format(
292292
plotly_rest_url=plotly_rest_url, file_owner=file_owner, file_id=file_id
293293
)

0 commit comments

Comments
 (0)