summaryrefslogtreecommitdiff
path: root/src/common.py
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-11-09 20:37:39 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-11-09 20:37:39 +0000
commit7fd6153720746edff4af900dc9c3579d3cde6e32 (patch)
tree41a6053716e059f24a9e4b9e3b935c28dac940c3 /src/common.py
parentdf6d2fc2d3aa8b6ea396e96acddf6b695ec35197 (diff)
downloadpoezio-7fd6153720746edff4af900dc9c3579d3cde6e32.tar.gz
poezio-7fd6153720746edff4af900dc9c3579d3cde6e32.tar.bz2
poezio-7fd6153720746edff4af900dc9c3579d3cde6e32.tar.xz
poezio-7fd6153720746edff4af900dc9c3579d3cde6e32.zip
fix some little issues. Rename gui to core, use logging lib instead of the custom debug option. Add a -d option
Diffstat (limited to 'src/common.py')
-rw-r--r--src/common.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/common.py b/src/common.py
index 53318e19..384fd28f 100644
--- a/src/common.py
+++ b/src/common.py
@@ -51,16 +51,6 @@ ROOM_STATE_PRIVATE = 15
ROOM_STATE_MESSAGE = 12
ROOM_STATE_HL = 13
-def debug(string):
- """
- Print a string in a file.
- Useful since debuging cannot be displayed on screen because it's
- a CLI software
- """
- fdes = open("/tmp/debug", 'a')
- fdes.write(string)
- fdes.close()
-
def get_base64_from_file(path):
"""
Convert the content of a file to base64