equal
deleted
inserted
replaced
544 |
544 |
545 if export is not None and export < len(contents): |
545 if export is not None and export < len(contents): |
546 content = contents[export] |
546 content = contents[export] |
547 key_order = content.get('key_order') |
547 key_order = content.get('key_order') |
548 |
548 |
549 data = [i.toDict() for i in content['data']] |
549 data = [i.toDict(key_order) for i in content['data']] |
550 |
550 |
551 if not key_order: |
551 if not key_order: |
552 data = [i.values() for i in data] |
552 data = [i.values() for i in data] |
553 |
553 |
554 filename = "export_%d" % export |
554 filename = "export_%d" % export |