From 0feac51b53b3f47c5e60f5f1f53d496bc70b11c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 14 Nov 2021 18:56:48 +0100 Subject: [PATCH] Rename variable _PROTO_SYNC to _PROTO_SYNC_CMDS --- qweechat/network.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qweechat/network.py b/qweechat/network.py index e865702..f665c22 100644 --- a/qweechat/network.py +++ b/qweechat/network.py @@ -53,7 +53,7 @@ _PROTO_INIT_PWD = 'init password=%(password)s%(totp)s\n' _PROTO_INIT_HASH = ('init password_hash=' '%(algo)s:%(salt)s%(iter)s:%(hash)s%(totp)s\n') -_PROTO_SYNC = [ +_PROTO_SYNC_CMDS = [ # get buffers '(listbuffers) hdata buffer:gui_buffers(*) number,full_name,short_name,' 'type,nicklist,title,local_variables', @@ -179,7 +179,7 @@ class Network(QtCore.QObject): def _build_sync_command(self): """Build the sync commands to send to WeeChat.""" - cmd = '\n'.join(_PROTO_SYNC) + '\n' + cmd = '\n'.join(_PROTO_SYNC_CMDS) + '\n' return cmd % {'lines': self._lines} def handshake_timer_expired(self):