Network/IRC/IrcUtilities.py

changeset 3036
30c81c9e88b8
parent 2992
dbdf27746da5
child 3060
5883ce99ee12
child 3160
209a07d7e401
equal deleted inserted replaced
3035:36e9f388958b 3036:30c81c9e88b8
111 if colors[0]: 111 if colors[0]:
112 # foreground and background 112 # foreground and background
113 tag = '<span style="background-color:{0};color={1}">'\ 113 tag = '<span style="background-color:{0};color={1}">'\
114 .format(Preferences.getIrc( 114 .format(Preferences.getIrc(
115 "IrcColor{0}".format(int(colors[0]))), 115 "IrcColor{0}".format(int(colors[0]))),
116 Preferences.getIrc( 116 Preferences.getIrc(
117 "IrcColor{0}".format(int(colors[1])))) 117 "IrcColor{0}".format(int(colors[1]))))
118 else: 118 else:
119 # background only 119 # background only
120 tag = '<span style="background-color:{0}">'.format( 120 tag = '<span style="background-color:{0}">'.format(
121 Preferences.getIrc( 121 Preferences.getIrc(
122 "IrcColor{0}".format(int(colors[1])))) 122 "IrcColor{0}".format(int(colors[1]))))

eric ide

mercurial