From 7fd6153720746edff4af900dc9c3579d3cde6e32 Mon Sep 17 00:00:00 2001 From: "louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13" Date: Tue, 9 Nov 2010 20:37:39 +0000 Subject: fix some little issues. Rename gui to core, use logging lib instead of the custom debug option. Add a -d option --- src/common.py | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/common.py') 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 -- cgit v1.2.3