We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b5e210 commit cf55812Copy full SHA for cf55812
i3ipc/i3ipc.py
@@ -504,14 +504,13 @@ def command(self, payload):
504
``i3-msg`` or an ``exec`` block in your i3 config to control the
505
window manager.
506
507
- :rtype: List of :class:`CommandReply` or None if the command causes i3
508
- to restart or exit and does not give a reply.
+ :rtype: List of :class:`CommandReply`.
509
"""
510
data = self.message(MessageType.COMMAND, payload)
511
if data:
512
return json.loads(data, object_hook=CommandReply)
513
else:
514
- return None
+ return []
515
516
def get_version(self):
517
0 commit comments