From ba733b791cc084b1da3fb26fbdb55076012e0752 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Wed, 29 Nov 2017 22:54:38 -0500 Subject: [PATCH] Empty log file bug correction and version bump --- bazarr.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bazarr.py b/bazarr.py index 1d88e8306..931683fdf 100644 --- a/bazarr.py +++ b/bazarr.py @@ -1,4 +1,4 @@ -bazarr_version = '0.1.4' +bazarr_version = '0.1.5' from bottle import route, run, template, static_file, request, redirect import bottle @@ -378,6 +378,7 @@ def system(): elif job.trigger.__str__().startswith('cron'): task_list.append([job.name, get_time_from_cron(job.trigger.fields), pretty.date(job.next_run_time.replace(tzinfo=None)), job.id]) + i = 0 with open(os.path.join(os.path.dirname(__file__), 'data/log/bazarr.log')) as f: for i, l in enumerate(f, 1): pass