Fix wrong placed </table>

This commit is contained in:
elpatron68
2019-07-28 15:37:46 +02:00
parent 58a654199a
commit fc22e5487d

View File

@ -401,6 +401,7 @@ class MumbleBot:
stationname = s['stationname']
# msg += f'<tr><td>{stationid}</td><td>{stationname}</td>'
msg += '<tr><td>%s</td><td>%s</td>' % (stationid, stationname)
msg += '</table>'
if len(msg) <= 5000:
self.send_msg(msg, text)
# Shorten message if message too long (stage II)