Fix regression in CLI after 8e411618abd588a889dd7634b6ab60709a6680f6

This commit is contained in:
Dmitry Sutyagin 2016-08-23 16:55:32 +03:00
parent 66f6d46c59
commit d7ad03fe26

View File

@ -236,8 +236,8 @@ def main(argv=None):
for logs in args.get_logs:
logs_conf = {}
logs_conf['path'] = logs[0]
logs_conf['include'] = logs[1]
logs_conf['exclude'] = logs[2]
logs_conf['include'] = [logs[1]]
logs_conf['exclude'] = [logs[2]]
if args.days:
logs_conf['start'] = args.days
conf['logs'].append(logs_conf)