Skip to content

Commit 7fd9a1d

Browse files
author
Richard Jones
committed
favicon generation stuff
1 parent ddcf0f1 commit 7fd9a1d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

roundup/scripts/roundup_server.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
"""Command-line script that runs a server over roundup.cgi.client.
1919
20-
$Id: roundup_server.py,v 1.41 2004-04-05 00:51:45 richard Exp $
20+
$Id: roundup_server.py,v 1.42 2004-04-05 00:54:23 richard Exp $
2121
"""
2222
__docformat__ = 'restructuredtext'
2323

@@ -63,6 +63,8 @@
6363
## end configuration
6464
#
6565

66+
# "default" favicon.ico
67+
# generate by using "icotool" and tools/base64
6668
import zlib, base64
6769
favico = zlib.decompress(base64.decodestring('''
6870
eJztjr1PmlEUh59XgVoshdYPWorFIhaRFq0t9pNq37b60lYSTRzcTFw6GAfj5gDYaF0dTB0MxMSE

tools/base64

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env python
2+
import zlib, base64, sys
3+
print base64.encodestring(zlib.compress(sys.stdin.read()))

0 commit comments

Comments
 (0)