Code

favicon generation stuff
authorrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Mon, 5 Apr 2004 00:54:23 +0000 (00:54 +0000)
committerrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Mon, 5 Apr 2004 00:54:23 +0000 (00:54 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2252 57a73879-2fb5-44c3-a270-3262357dd7e2

roundup/scripts/roundup_server.py
tools/base64 [new file with mode: 0755]

index 2b20fd7b7d2d24a12c75ba416c7d099cb7935070..fa326377ae782eb41b667d4ff9d56ea51049bf37 100644 (file)
@@ -17,7 +17,7 @@
 
 """Command-line script that runs a server over roundup.cgi.client.
 
-$Id: roundup_server.py,v 1.41 2004-04-05 00:51:45 richard Exp $
+$Id: roundup_server.py,v 1.42 2004-04-05 00:54:23 richard Exp $
 """
 __docformat__ = 'restructuredtext'
 
@@ -63,6 +63,8 @@ LOGFILE = None
 ##  end configuration
 #
 
+# "default" favicon.ico
+# generate by using "icotool" and tools/base64
 import zlib, base64
 favico = zlib.decompress(base64.decodestring('''
 eJztjr1PmlEUh59XgVoshdYPWorFIhaRFq0t9pNq37b60lYSTRzcTFw6GAfj5gDYaF0dTB0MxMSE
diff --git a/tools/base64 b/tools/base64
new file mode 100755 (executable)
index 0000000..22e4bfb
--- /dev/null
@@ -0,0 +1,3 @@
+#!/usr/bin/env python
+import zlib, base64, sys
+print base64.encodestring(zlib.compress(sys.stdin.read()))