Network/IRC/IrcUtilities.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3057
10516539f238
parent 3036
30c81c9e88b8
child 3145
a9de05d4a22f
equal deleted inserted replaced
3058:0a02c433f52d 3060:5883ce99ee12
113 if colors[0]: 113 if colors[0]:
114 # foreground and background 114 # foreground and background
115 tag = '<span style="background-color:{0};color={1}">'\ 115 tag = '<span style="background-color:{0};color={1}">'\
116 .format(Preferences.getIrc( 116 .format(Preferences.getIrc(
117 "IrcColor{0}".format(int(colors[0]))), 117 "IrcColor{0}".format(int(colors[0]))),
118 Preferences.getIrc( 118 Preferences.getIrc(
119 "IrcColor{0}".format(int(colors[1])))) 119 "IrcColor{0}".format(int(colors[1]))))
120 else: 120 else:
121 # background only 121 # background only
122 tag = '<span style="background-color:{0}">'.format( 122 tag = '<span style="background-color:{0}">'.format(
123 Preferences.getIrc( 123 Preferences.getIrc(
124 "IrcColor{0}".format(int(colors[1])))) 124 "IrcColor{0}".format(int(colors[1]))))

eric ide

mercurial