From: Seth Woodworth Date: Wed, 26 Jun 2013 19:52:33 +0000 (-0400) Subject: remove ocr for ppt X-Git-Tag: release-20150131~409 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=36d280381cf21ea43b046fdb8fcc1a803b5247bc;p=oweals%2Fkarmaworld.git remove ocr for ppt --- diff --git a/karmaworld/apps/notes/gdrive.py b/karmaworld/apps/notes/gdrive.py index 46a1f0e..dac5593 100644 --- a/karmaworld/apps/notes/gdrive.py +++ b/karmaworld/apps/notes/gdrive.py @@ -124,10 +124,6 @@ def convert_with_google_drive(note): # include OCR on ocr-able files file_dict = service.files().insert(body=resource, media_body=media, convert=True, ocr=True).execute() - elif extension.lower() in ['.ppt', 'pptx']: - # FIXME VVVV - file_dict = service.files().insert(body=resource, media_body=media, convert=True, ocr=True).execute() - else: file_dict = service.files().insert(body=resource, media_body=media, convert=True).execute()