[#12] Заменил open().close() на os.mknod()
This commit is contained in:
parent
42a06db223
commit
a9fa313605
@ -176,7 +176,7 @@ def check_stream():
|
|||||||
os.path.exists(os.path.join(streamer_path, "pid"))):
|
os.path.exists(os.path.join(streamer_path, "pid"))):
|
||||||
log.info("{} стримит".format(streamer))
|
log.info("{} стримит".format(streamer))
|
||||||
start_recording(streamer)
|
start_recording(streamer)
|
||||||
open(os.path.join(streamer_path, "pid"), 'w').close
|
os.mknod(os.path.join(streamer_path, "pid"))
|
||||||
else:
|
else:
|
||||||
log.info(
|
log.info(
|
||||||
"Идет запись {}".format(streamer)
|
"Идет запись {}".format(streamer)
|
||||||
|
Loading…
Reference in New Issue
Block a user