removed unnecessary comments
This commit is contained in:
@@ -190,7 +190,6 @@ def get_duration(file_path: str) -> float:
|
||||
stderr=subprocess.STDOUT
|
||||
)
|
||||
|
||||
# error checking
|
||||
if result.returncode != 0:
|
||||
raise RuntimeError(f"ffprobe failed for file {file_path}")
|
||||
|
||||
|
||||
@@ -19,7 +19,6 @@ def open_obs():
|
||||
kill_command = subprocess.Popen(["pkill", "obs"])
|
||||
kill_command.wait()
|
||||
|
||||
# remove .sentinel dir if exists
|
||||
if os.path.exists(os.path.expanduser("~/.config/obs-studio/.sentinel")):
|
||||
print("Removing existing .sentinel directory")
|
||||
subprocess.Popen(["rm", "-rf", os.path.expanduser("~/.config/obs-studio/.sentinel")])
|
||||
|
||||
Reference in New Issue
Block a user