From 5f2942401d1e61a6e8da95ff5c52efa7e16ea1fa Mon Sep 17 00:00:00 2001 From: Johan Lundberg Date: Thu, 27 Mar 2014 18:25:47 +0100 Subject: More robust to print strings than ints. --- meetingtools/apps/room/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meetingtools/apps/room/tasks.py b/meetingtools/apps/room/tasks.py index 491beec..c8a1fac 100644 --- a/meetingtools/apps/room/tasks.py +++ b/meetingtools/apps/room/tasks.py @@ -278,7 +278,7 @@ def import_transactions(): '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) + logging.debug("last session for sco_id=%s" % sco_id) if not seen.get(sco_id,False): #pick the first session for each room - ie the one last created seen[sco_id] = True try: -- cgit v1.1