Skip to content

Commit 3bf905c

Browse files
Johnetordofffelliott
authored andcommitted
Fix .gdraw rendering
* Google Drawings (.gdraw) files were being exported by the Unoconv exporter. This was broken (unoconv couldn't handle them) and unnecessary, since .gdraws are automatically exported to .jpgs on download. Switching them to be exported by the image renderer lets them render successfully and allows MFR to enforce size restrictions on the displayed file. [SVCS-38] Fixes #247
1 parent 36a92d1 commit 3bf905c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def parse_requirements(requirements):
4242
],
4343
'mfr.exporters': [
4444
# google docs
45-
'.gdraw = mfr.extensions.unoconv:UnoconvExporter',
45+
'.gdraw = mfr.extensions.image:ImageExporter',
4646
'.gdoc = mfr.extensions.unoconv:UnoconvExporter',
4747
'.gsheet = mfr.extensions.unoconv:UnoconvExporter',
4848
'.gslides = mfr.extensions.unoconv:UnoconvExporter',

0 commit comments

Comments
 (0)