Browse Source

Robustness

pull/106/head
Andrea 8 years ago
parent
commit
37a3ad3532
  1. 2
      bi_view_editor/models/bve_view.py

2
bi_view_editor/models/bve_view.py

@ -281,7 +281,7 @@ class BveView(models.Model):
return fields return fields
def check_empty_data(data): def check_empty_data(data):
if not data:
if not data or data == '[]':
raise UserError(_('No data to process.')) raise UserError(_('No data to process.'))
check_empty_data(self.data) check_empty_data(self.data)

Loading…
Cancel
Save