fix directory creation

This commit is contained in:
Izalia Mae 2021-08-22 19:45:53 -04:00
parent 99e71477d3
commit 78f97235a6

View file

@ -24,7 +24,7 @@ command = ['socat', f'UNIX-LISTEN:{sock_path},fork,reuseaddr,mode=777', f'TCP:{s
shutdown = False
if not sock_path.parent.exists():
sock_path.mkdir(parents=True)
sock_path.parent.mkdir(parents=True)
if sock_path.exists():
print('Socket already exists. Is Pulseaudio or another bridge running?')