diff options
author | Johan Lundberg <lundberg@nordu.net> | 2014-03-27 17:57:52 +0100 |
---|---|---|
committer | Johan Lundberg <lundberg@nordu.net> | 2014-03-27 17:57:52 +0100 |
commit | ca3129c7cffc4d3a015edd392ac3ded3bf7f2e1c (patch) | |
tree | 85cab1d62c9cbd066374e2d18a2361d63d4cc50d /meetingtools/apps | |
parent | d9b769f2ecda67c8953fbde4c4b1808e8531411a (diff) |
isoformat not isformat.
Diffstat (limited to 'meetingtools/apps')
-rw-r--r-- | meetingtools/apps/room/tasks.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meetingtools/apps/room/tasks.py b/meetingtools/apps/room/tasks.py index ae24b88..491beec 100644 --- a/meetingtools/apps/room/tasks.py +++ b/meetingtools/apps/room/tasks.py @@ -273,7 +273,9 @@ def import_transactions(): then = then.replace(microsecond=0) with ac_api_client(acc) as api: seen = {} - r = api.request('report-bulk-consolidated-transactions',{'filter-type':'meeting','sort-date-created': 'asc','filter-gt-date-created': then.isformat()}) + r = api.request('report-bulk-consolidated-transactions', + {'filter-type': 'meeting', 'sort-date-created': 'asc', + 'filter-gt-date-created': then.isoformat()}) for row in r.et.xpath("//row"): sco_id = row.get('sco-id') logging.debug("last session for sco_id=%d" % sco_id) |