mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-25 01:02:19 +00:00
Empty log file bug correction and version bump
This commit is contained in:
parent
1cab28a526
commit
ba733b791c
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
bazarr_version = '0.1.4'
|
bazarr_version = '0.1.5'
|
||||||
|
|
||||||
from bottle import route, run, template, static_file, request, redirect
|
from bottle import route, run, template, static_file, request, redirect
|
||||||
import bottle
|
import bottle
|
||||||
|
@ -378,6 +378,7 @@ def system():
|
||||||
elif job.trigger.__str__().startswith('cron'):
|
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])
|
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:
|
with open(os.path.join(os.path.dirname(__file__), 'data/log/bazarr.log')) as f:
|
||||||
for i, l in enumerate(f, 1):
|
for i, l in enumerate(f, 1):
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in a new issue