diff options
author | Tomeu Vizoso <tomeu@sugarlabs.org> | 2009-01-06 11:22:18 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@sugarlabs.org> | 2009-01-06 11:22:18 (GMT) |
commit | bce3d51b196fafc2e873600679394fba507d5e72 (patch) | |
tree | c48189a6da7635e5cae6f6646f3507bf61207a6c | |
parent | 566423bab18983a8a0db81b4addfb6032e80e130 (diff) |
Check the other encodings if the first one fails
-rw-r--r-- | src/sugar/mime.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sugar/mime.py b/src/sugar/mime.py index ad08235..7d3b54b 100644 --- a/src/sugar/mime.py +++ b/src/sugar/mime.py @@ -229,7 +229,7 @@ def _file_looks_like_text(file_name): unicode(sample, encoding) return True except Exception: - return False + pass return False |