Skip to content

Commit 6f045f1

Browse files
committed
Hot fix.
1 parent 215f95d commit 6f045f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ def init():
5959
l = logging.getLogger("ehForwarderBot")
6060
slaves = {}
6161
for i in config.slave_channels:
62-
l.critical("\x1b[0;37;46m Initializing slave %s... \x1b[0m" % i)
62+
l.critical("\x1b[0;37;46m Initializing slave %s... \x1b[0m" % str(i))
6363
obj = getattr(__import__(i[0], fromlist=i[1]), i[1])
6464
slaves[obj.channel_id] = obj(q)
6565
l.critical("\x1b[0;37;42m Slave channel %s (%s) initialized. \x1b[0m" % (obj.channel_name, obj.channel_id))
66-
l.critical("\x1b[0;37;46m Initializing master %s... \x1b[0m" % config.master_channel)
66+
l.critical("\x1b[0;37;46m Initializing master %s... \x1b[0m" % str(config.master_channel))
6767
master = getattr(__import__(config.master_channel[0], fromlist=config.master_channel[1]), config.master_channel[1])(
6868
q, slaves)
6969
l.critical("\x1b[0;37;42m Master channel %s (%s) initialized. \x1b[0m" % (master.channel_name, master.channel_id))

0 commit comments

Comments
 (0)