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:
5319934
)
workaround because beautifulsoup breaks pdf2html prettifulness
author
Bryan
<btbonval@gmail.com>
Fri, 17 Jan 2014 17:35:00 +0000
(12:35 -0500)
committer
Bryan
<btbonval@gmail.com>
Fri, 17 Jan 2014 17:35:00 +0000
(12:35 -0500)
karmaworld/apps/notes/gdrive.py
patch
|
blob
|
history
diff --git
a/karmaworld/apps/notes/gdrive.py
b/karmaworld/apps/notes/gdrive.py
index 6ad9f380a2741aa61f85a714538f1add8b4d8418..f39ab958ade96ee78c27408e185aee7419481bbd 100644
(file)
--- a/
karmaworld/apps/notes/gdrive.py
+++ b/
karmaworld/apps/notes/gdrive.py
@@
-225,8
+225,8
@@
def convert_raw_document(raw_document, user=None, session_key=None):
html = pdf2html(content_dict['pdf'])
elif 'html' in content_dict and content_dict['html']:
html = content_dict['html']
- # cleanup the HTML
- html = note.filter_html(html)
+
# cleanup the HTML
+
html = note.filter_html(html)
# upload the HTML file to static host if it is not already there
note.send_to_s3(html, do_save=False)