Add missing lines value in command to synchronize with WeeChat

This commit is contained in:
Sébastien Helleu 2021-11-14 10:03:10 +01:00
parent beddac26e1
commit b527fe4b11
1 changed files with 2 additions and 1 deletions

View File

@ -184,7 +184,8 @@ class Network(QtCore.QObject):
def sync_weechat(self):
"""Synchronize with WeeChat."""
self.send_to_weechat('\n'.join(_PROTO_SYNC_CMDS))
self.send_to_weechat('\n'.join(_PROTO_SYNC_CMDS)
% {'lines': self._lines})
def status_label(self, status):
"""Return the label for a given status."""