From 6538abd6e55905f899f2e59c25ea49cb4eb93ef9 Mon Sep 17 00:00:00 2001 From: k4yt3x Date: Thu, 11 Apr 2019 14:56:51 -0400 Subject: [PATCH] corrected a typo --- bin/video2x.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/video2x.py b/bin/video2x.py index cada60f..a3e1d96 100644 --- a/bin/video2x.py +++ b/bin/video2x.py @@ -295,7 +295,7 @@ try: Avalon.error('Input and output path type mismatch') Avalon.error('Input is single file but output is folder') raise Exception('input output path type mismatch') - elif not re.search('.*\..*$', args.input): + if not re.search('.*\..*$', args.output): Avalon.error('No suffix found in output file path') Avalon.error('Suffix must be specified for FFmpeg') raise Exception('No suffix specified')