From 1a3b6ec289229177104aa20fef905afd66d198ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Wed, 27 Mar 2019 20:13:29 -0400 Subject: [PATCH] Removed log parsing from system route. --- bazarr/main.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/bazarr/main.py b/bazarr/main.py index 7d39edbd0..ea3e4414a 100644 --- a/bazarr/main.py +++ b/bazarr/main.py @@ -1641,14 +1641,6 @@ def system(): throttled_providers = list_throttled_providers() - i = 0 - with open(os.path.join(args.config_dir, 'log', 'bazarr.log')) as f: - for i, l in enumerate(f, 1): - pass - row_count = i - page_size = int(settings.general.page_size) - max_page = int(math.ceil(row_count / (page_size + 0.0))) - try: with open(os.path.join(args.config_dir, 'config', 'releases.txt'), 'r') as f: releases = ast.literal_eval(f.read())