From 37be11eb1dfad8bca14a6f4cb7716d7b58039d90 Mon Sep 17 00:00:00 2001 From: Zen <46526140+master-of-zen@users.noreply.github.com> Date: Thu, 13 Feb 2020 00:56:17 +0200 Subject: [PATCH] + --- av1an.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/av1an.py b/av1an.py index 09423b4..882d258 100755 --- a/av1an.py +++ b/av1an.py @@ -139,9 +139,7 @@ class Av1an: cpu = os.cpu_count() ram = round(virtual_memory().total / 2 ** 30) - self.workers = self.args.workers - - elif self.encoder == 'aom' or 'rav1e': + if self.encoder == 'aom' or 'rav1e': self.workers = ceil(min(cpu, ram/1.5)) elif self.encoder == 'svt_av1':