projects
/
oweals
/
karmaworld.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5d032b
)
remove ocr for ppt
author
Seth Woodworth
<seth@sethish.com>
Wed, 26 Jun 2013 19:52:33 +0000
(15:52 -0400)
committer
Seth Woodworth
<seth@sethish.com>
Wed, 26 Jun 2013 19:52:33 +0000
(15:52 -0400)
karmaworld/apps/notes/gdrive.py
patch
|
blob
|
history
diff --git
a/karmaworld/apps/notes/gdrive.py
b/karmaworld/apps/notes/gdrive.py
index 46a1f0ea0941939d069d4f8cd9b6eadff2187938..dac559386d7cd01e58bb6a6250477d8a7b8b97cb 100644
(file)
--- 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()