From 21f2b2dcd7a713352befdf061d57bd5ba4e207e5 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Thu, 31 Jan 2019 01:09:57 -0300 Subject: [PATCH] cast timestamp to integer before querying --- lbrynet/extras/daemon/storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbrynet/extras/daemon/storage.py b/lbrynet/extras/daemon/storage.py index c6092d89f..941c08c72 100644 --- a/lbrynet/extras/daemon/storage.py +++ b/lbrynet/extras/daemon/storage.py @@ -274,7 +274,7 @@ class SQLiteStorage(SQLiteMixin): def get_blobs_to_announce(self): def get_and_update(transaction): - timestamp = self.loop.time() + timestamp = int(self.loop.time()) if self.conf.announce_head_and_sd_only: r = transaction.execute( "select blob_hash from blob "