Skip to content

Commit 878a694

Browse files
author
Célian Haydont
committed
fix function name
1 parent e67cecf commit 878a694

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dataikuapi/dss/wiki.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def export_to_file(self, path, paperSize="A4", exportChildren=False):
262262
"""
263263
Download an article in PDF format into the given output file.
264264
"""
265-
stream = self.export(paperSize=paperSize, exportChildren=exportChildren)
265+
stream = self.get_export_stream(paperSize=paperSize, exportChildren=exportChildren)
266266

267267
with open(path, 'wb') as f:
268268
for chunk in stream.iter_content(chunk_size=10000):

0 commit comments

Comments
 (0)