A community-maintained Python framework for creating mathematical animations.
fixed -f flag (#243)
Hugues Devimeux1f85f851d1af
diff --git a/manim/__main__.py b/manim/__main__.pyindex 79f85a20c..85bcbfae3 100644--- a/manim/__main__.py+++ b/manim/__main__.py@@ -36,7 +36,10 @@ def open_file_if_needed(file_writer):for file_path in file_paths:if current_os == "Windows":- os.startfile(os.path.dirname(file_path))+ if file_writer_config["preview"]:+ os.startfile(file_path)+ if file_writer_config["show_file_in_finder"]:+ os.startfile(os.path.dirname(file_path))else:commands = []if current_os == "Linux":