Integrate Walter color values.

(Still not fully hooked up to buddies)
This commit is contained in:
Marco Pesenti Gritti
2006-08-19 14:27:56 +02:00
parent 32a368bdbb
commit a3f62ee68f
5 changed files with 153 additions and 8 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/python
import sys
result = 'colors_dict = {\n'
result += '\'white\' : \'black\' , \\\n'
hex_file = open(sys.argv[1], 'r')
for line in hex_file.readlines():
[ stroke, fill ] = line.split()
result += '\'#%s\' : \'#%s\', \\\n' % (fill, stroke)
result += '}'
hex_file.close()
print result