mirror of
https://github.com/k4yt3x/video2x.git
synced 2025-01-01 10:29:09 +00:00
Check platform correctly
Continue if running on win32. Exit if running on other platforms.
This commit is contained in:
parent
65cc4c6afb
commit
aa7c0b3f12
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user