diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-04-16 11:15:49 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-04-16 11:20:09 +0100 |
commit | c2e2c937bec99dc7c7e81ca1869ac3444b7fbb14 (patch) | |
tree | 5a04a75b008b2e59fd061b507629586f34f6e41c /bin | |
parent | 81a92715f2317b27d36e945b59d2fb3e4d845abc (diff) |
Fix error with RDF literal not being converted to string.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/kasabi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/kasabi b/bin/kasabi index 47186e64b..5b99ba4ff 100755 --- a/bin/kasabi +++ b/bin/kasabi @@ -47,7 +47,7 @@ def main(): if len(sys.argv) > 1 and sys.argv[1].isdigit(): cursor.execute("%s AND id=%%s" % query, (sys.argv[1],)) else: - cursor.execute("%s AND lastupdate > %%s" % query, (max_lastUpdate,)) + cursor.execute("%s AND lastupdate > %%s ORDER BY lastupdate" % query, (str(max_lastUpdate),)) for report in cursor: changeset = FixMyStreetChangeSet(dataset) |