summaryrefslogtreecommitdiff
path: root/src/common.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.py')
-rw-r--r--src/common.py8
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):