remove ocr for ppt
authorSeth Woodworth <seth@sethish.com>
Wed, 26 Jun 2013 19:52:33 +0000 (15:52 -0400)
committerSeth Woodworth <seth@sethish.com>
Wed, 26 Jun 2013 19:52:33 +0000 (15:52 -0400)
karmaworld/apps/notes/gdrive.py

index 46a1f0ea0941939d069d4f8cd9b6eadff2187938..dac559386d7cd01e58bb6a6250477d8a7b8b97cb 100644 (file)
@@ -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()