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

Skip to content

Commit fe5d2c0

Browse files
committed
Merge pull request plotly#47 from plotly/andrew-fix-model-urls
Andrew fix model urls
2 parents e0e7e18 + cbf42da commit fe5d2c0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

run.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"image", # todo, remove this
4545
"exception",
4646
"private",
47+
"url",
4748
"prepend", # todo, remove
4849
"append" # todo, remove
4950
],
@@ -956,6 +957,8 @@ def reset_reprocessed_leaves(section, processed_ids):
956957
if section:
957958
if section['is_leaf']:
958959
if section['id'] in processed_ids:
960+
if section['type'] == 'script':
961+
section.pop('url', None)
959962
keys = section.keys()
960963
for key in keys:
961964
if key not in tree_keys['leaf'] and key not in languages:

0 commit comments

Comments
 (0)