We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c643152 + 99d3f96 commit 7181c4dCopy full SHA for 7181c4d
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