summaryrefslogtreecommitdiff
path: root/alot
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2011-10-22 16:06:30 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2011-10-22 16:06:30 +0100
commit83da239b92d634df213bdc76836e10cc1f40bf83 (patch)
tree9907e4212c4968de30cf6fcf4d1ed743ccfa0738 /alot
parentcd6d038427535355b7516df043319b989d0ae961 (diff)
pep8
Diffstat (limited to 'alot')
-rw-r--r--alot/helper.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/alot/helper.py b/alot/helper.py
index b1fbaeca..1f0e025d 100644
--- a/alot/helper.py
+++ b/alot/helper.py
@@ -42,6 +42,7 @@ def string_sanitize(string):
string = string.replace('\r', '')
return string
+
def string_decode(string, enc='ascii'):
"""decodes string to unicode bytestring, respecting enc as a hint"""