From 36d280381cf21ea43b046fdb8fcc1a803b5247bc Mon Sep 17 00:00:00 2001 From: Seth Woodworth Date: Wed, 26 Jun 2013 15:52:33 -0400 Subject: [PATCH] remove ocr for ppt --- karmaworld/apps/notes/gdrive.py | 4 ---- 1 file changed, 4 deletions(-) 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() -- 2.25.1