From aa7c0b3f12503dc1acb3f8ff385ddcff419ea398 Mon Sep 17 00:00:00 2001 From: YOUSIKI Date: Sat, 30 Nov 2019 22:56:34 +0800 Subject: [PATCH] Check platform correctly Continue if running on win32. Exit if running on other platforms. --- src/video2x_setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video2x_setup.py b/src/video2x_setup.py index dc36457..610ba8c 100755 --- a/src/video2x_setup.py +++ b/src/video2x_setup.py @@ -326,7 +326,7 @@ if __name__ == '__main__': start_time = time.time() # check platform - if sys.platform == 'win32': + if sys.platform != 'win32': print('This script is currently only compatible with Windows') EXIT_CODE = 1 sys.exit(1)