From 78d61bbe677db05510c07f3262929c2ea52c8151 Mon Sep 17 00:00:00 2001 From: Zen <46526140+master-of-zen@users.noreply.github.com> Date: Sat, 11 Jan 2020 09:26:20 +0200 Subject: [PATCH] improved imports exception handling --- main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.py b/main.py index 9a48863..9c858ce 100644 --- a/main.py +++ b/main.py @@ -9,7 +9,6 @@ DONE make passing your arguments for encoding, 2-pass encode by default for better quality make separate audio and encode it separately, """ -#import asyncio import os from os.path import join from psutil import virtual_memory @@ -21,7 +20,7 @@ from math import ceil from multiprocessing import Pool try: import scenedetect -except: +except ImportError: print('ERROR: No PyScenedetect installed, try: sudo pip install scenedetect')