summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Lundberg <lundberg@nordu.net>2014-03-27 18:25:47 +0100
committerJohan Lundberg <lundberg@nordu.net>2014-03-27 18:25:47 +0100
commit5f2942401d1e61a6e8da95ff5c52efa7e16ea1fa (patch)
treedca71754076be7575ea1dcf9da0dc71d95cc5a09
parent31333355f04b99c99e2fa61a1860f3960fd88c4b (diff)
More robust to print strings than ints.
-rw-r--r--meetingtools/apps/room/tasks.py2
1 files changed, 1 insertions, 1 deletions
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: