Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
Update pipe_no_wait function to work on FreeBSD
Browse files Browse the repository at this point in the history
This very small change made the bot work on my FreeBSD server. Haven't had any issues so far.
  • Loading branch information
SeanFxyz authored Sep 1, 2021
1 parent 75c54f2 commit 5224610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def pipe_no_wait():
""" Generate a non-block pipe used to fetch the STDERR of ffmpeg.
"""

if platform == "linux" or platform == "linux2" or platform == "darwin" or platform.startswith("openbsd"):
if platform == "linux" or platform == "linux2" or platform == "darwin" or platform.startswith("openbsd") or platform.startswith("freebsd"):
import fcntl
import os

Expand Down

0 comments on commit 5224610

Please sign in to comment.