We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00c18fd commit 99d3f96Copy full SHA for 99d3f96
packages/python/chart-studio/chart_studio/tools.py
@@ -287,7 +287,7 @@ def _get_embed_url(file_owner_or_url, file_id=None):
287
"The 'file_id' argument must be a non-negative number."
288
)
289
290
- if share_key is "":
+ if share_key == "":
291
return "{plotly_rest_url}/~{file_owner}/{file_id}.embed".format(
292
plotly_rest_url=plotly_rest_url, file_owner=file_owner, file_id=file_id
293
0 commit comments