Skip to content

Commit c1d6603

Browse files
authored
Merge pull request #1173 from plotly/update-get_plotschema-for-python-3
Update get_plotschema.py
2 parents da08ce8 + 8458640 commit c1d6603

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

get_plotschema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
plotschema = requests.get('https://api.plot.ly/v2/plot-schema/?sha1=%27%27',
77
headers={'plotly-client-platform': 'python'},
88
auth=('plotly_docs', 'ikwqmjam2o')).content
9-
f = open('_data/plotschema.json', 'w')
9+
f = open('_data/plotschema.json', 'wb')
1010
f.write(plotschema)

0 commit comments

Comments
 (0)