From d6f1bae2e6f07bfe226379f07c229a3570de3dc5 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 30 Nov 2018 19:54:49 -0500 Subject: [PATCH] emergency patch for issue #26 by @sok0 --- video2x.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video2x.py b/video2x.py index fad4e3b..ff4fd78 100755 --- a/video2x.py +++ b/video2x.py @@ -288,7 +288,7 @@ print_logo() if not args.video: Avalon.error('You need to specify the video to process') exit(1) -elif (not args.width or not args.height) or not args.upscale_factor: +elif (not args.width or not args.height) and not args.factor: Avalon.error('You must specify output video width and height or upscale factor') exit(1) elif not args.output: