diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2011-07-19 13:20:05 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2011-07-19 13:20:05 +0200 |
commit | 2de5ef2366d7cba91291a350fa5fe3bba007dc24 (patch) | |
tree | 77ac40af6f362a68c8fd6fcfb2d4fa14f7d6c67f /modules | |
parent | 4c789190c14713dc55c4d0be56a5fe461cd549c5 (diff) |
tracking: Fixed data usage in update_consignment().
Diffstat (limited to 'modules')
-rw-r--r-- | modules/tracking.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tracking.py b/modules/tracking.py index 4e2a195..d4a3e10 100644 --- a/modules/tracking.py +++ b/modules/tracking.py @@ -380,7 +380,7 @@ class Module: break package = session.query(Package).filter(and_(Package.consignment_id == consignment.id, Package.code == data.code)).one() - if package.last == None or data[1] > package.last: + if package.last == None or data.date > package.last: code = data.code last = data.date desc = data.desc |