mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-24 18:58:33 +02:00
i3-companion: don't error when cannot connect to dead polybar socket
This commit is contained in:
parent
75f5a9cdda
commit
f8689c512b
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ def polybar(module):
|
|||
try:
|
||||
reader, writer = await asyncio.open_unix_connection(name)
|
||||
except OSError as e:
|
||||
if e.errno != errno.ENXIO:
|
||||
if e.errno not in (errno.ENXIO, errno.ECONNREFUSED):
|
||||
raise
|
||||
else:
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue