From: richard Date: Mon, 5 Apr 2004 00:54:23 +0000 (+0000) Subject: favicon generation stuff X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3a551f2e646a6a421cf74a1b226d957ffb614863;p=roundup.git favicon generation stuff git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2252 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup/scripts/roundup_server.py b/roundup/scripts/roundup_server.py index 2b20fd7..fa32637 100644 --- a/roundup/scripts/roundup_server.py +++ b/roundup/scripts/roundup_server.py @@ -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 index 0000000..22e4bfb --- /dev/null +++ b/tools/base64 @@ -0,0 +1,3 @@ +#!/usr/bin/env python +import zlib, base64, sys +print base64.encodestring(zlib.compress(sys.stdin.read()))