From 82547ca276b1dae02c6530f90a7c2d856bfa4025 Mon Sep 17 00:00:00 2001 From: yoshiko2 Date: Mon, 18 Apr 2022 23:38:16 +0800 Subject: [PATCH] If current running system not Windows, program will be auto exit. --- Movie_Data_Capture.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Movie_Data_Capture.py b/Movie_Data_Capture.py index 4173c29..2504fc6 100644 --- a/Movie_Data_Capture.py +++ b/Movie_Data_Capture.py @@ -704,6 +704,7 @@ if __name__ == '__main__': main(args) if not conf.auto_exit(): - input("Press enter key exit, you can check the error message before you exit...") + if sys.platform == 'win32': + input("Press enter key exit, you can check the error message before you exit...") sys.exit(0)