1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-24 00:33:27 +00:00

Empty log file bug correction and version bump

This commit is contained in:
Louis Vézina 2017-11-29 22:54:38 -05:00
parent 1cab28a526
commit ba733b791c

View file

@ -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