[#12] Заменил open().close() на os.mknod()

This commit is contained in:
lulzette 2023-06-02 09:45:39 +03:00
parent 42a06db223
commit a9fa313605

View File

@ -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)