From a9fa313605fb3ae22b1ecaef9fc4d21608f81b8d Mon Sep 17 00:00:00 2001 From: lulzette Date: Fri, 2 Jun 2023 09:45:39 +0300 Subject: [PATCH] =?UTF-8?q?[#12]=20=D0=97=D0=B0=D0=BC=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D0=BB=20open().close()=20=D0=BD=D0=B0=20os.mknod()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index 7ad5916..8fdbade 100644 --- a/daemon.py +++ b/daemon.py @@ -176,7 +176,7 @@ def check_stream(): os.path.exists(os.path.join(streamer_path, "pid"))): log.info("{} стримит".format(streamer)) start_recording(streamer) - open(os.path.join(streamer_path, "pid"), 'w').close + os.mknod(os.path.join(streamer_path, "pid")) else: log.info( "Идет запись {}".format(streamer)