From f71a9e4fa05cf1dbbc9de49a612cf77319070af0 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 15 Nov 2016 16:42:58 +0100 Subject: [PATCH] Fix typo --- python/lorautil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/lorautil.py b/python/lorautil.py index 57ba53e..bde5684 100644 --- a/python/lorautil.py +++ b/python/lorautil.py @@ -94,7 +94,7 @@ class DB(object): @classmethod def gps_query(cls, since="1 day"): - return csl("select payload from packets where payload like 'lat%' and received_dt > NOW() - '{}'::INTERVAL".format(since)) + return cls("select payload from packets where payload like 'lat%' and received_dt > NOW() - '{}'::INTERVAL".format(since)) def __iter__(self): try: