diff options
author | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-09-26 18:01:38 +0000 |
---|---|---|
committer | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-09-26 18:01:38 +0000 |
commit | 390e952829dfbf9bed2cf4647e07ab9249d59cf2 (patch) | |
tree | 4c8c14d909286791a213e66f929bc619fab98f69 /src/common.py | |
parent | c486b78bbd072b5d924a62f0b2c4a40f644dfce5 (diff) | |
download | poezio-390e952829dfbf9bed2cf4647e07ab9249d59cf2.tar.gz poezio-390e952829dfbf9bed2cf4647e07ab9249d59cf2.tar.bz2 poezio-390e952829dfbf9bed2cf4647e07ab9249d59cf2.tar.xz poezio-390e952829dfbf9bed2cf4647e07ab9249d59cf2.zip |
Basic implementation of the roster and one to one conversations
Diffstat (limited to 'src/common.py')
-rw-r--r-- | src/common.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/common.py b/src/common.py index 061c9d84..cbe29fb0 100644 --- a/src/common.py +++ b/src/common.py @@ -58,13 +58,7 @@ def debug(string): a CLI software """ fdes = open("/tmp/debug", 'a') - try: - fdes.write(string) - except: - try: - fdes.write(string.encode('utf-8')) - except: - fdes.write(string.encode('utf-8')) + fdes.write(string) fdes.close() def get_base64_from_file(path): |