[IMP] updated travis and readme

This commit is contained in:
oihane
2016-07-04 17:28:56 +02:00
parent 686fd0b335
commit 624dda9cdf
5 changed files with 27 additions and 19 deletions

View File

@@ -61,9 +61,9 @@ def exp_report_get(db, uid, report_id):
action = data['action']
printer = data['printer']
if action != 'client':
if (self_reports and self_reports.get(report_id)
and self_reports[report_id].get('result')
and self_reports[report_id].get('format')):
if (self_reports and self_reports.get(report_id) and
self_reports[report_id].get('result') and
self_reports[report_id].get('format')):
printer.print_document(report,
self_reports
[report_id]['result'],