Commit Graph
12 Commits
Author SHA1 Message Date
Umair Khan 911efd1db4 Move encoding detection inside if condition. 2016-07-19 09:44:40 +05:00
Umair Khan e61f0a68c4 Add six library to setup.py 2016-07-19 09:40:03 +05:00
Umair Khan cefbcffd59 Make tests/text_quotations_test.py compatible with Python 3. 2016-07-13 14:45:26 +05:00
Umair Khan 622a98d6d5 Make utils compatible with Python 3. 2016-07-13 13:00:24 +05:00
Umair Khan 7901f5d1dc Convert msg_body into unicode in preprocess. 2016-07-13 11:18:10 +05:00
Umair Khan 555c34d7a8 Make sure html_to_text processes bytes 2016-07-13 11:18:10 +05:00
Umair Khan dcc0d1de20 Convert msg_body to bytes in extract_from_html 2016-07-13 11:18:06 +05:00
Umair Khan 7bdf4d622b Only encode if str 2016-07-13 08:01:47 +05:00
Umair Khan 4a7207b0d0 Only convert to unicode if str 2016-07-13 08:01:47 +05:00
Umair Khan ad9c2ca0e8 Upgrade quotations.py 2016-07-13 08:01:44 +05:00
Umair Khan da998ddb60 Run modernizer on the code. 2016-07-12 17:25:46 +05:00
Umair Khan 07f68815df Allow installation of ML free version.
Add an option to the install script, `--no-ml`, that when given will
install Talon without ML support.

Fixes #96
2016-07-12 15:08:53 +05:00