diff --git a/hive/indexer/posts.py b/hive/indexer/posts.py index cb49facc6870ba0802414587bf51868d9233625b..6fae17d4bf2b5ce0279b327389f432df916cbefd 100644 --- a/hive/indexer/posts.py +++ b/hive/indexer/posts.py @@ -238,7 +238,7 @@ class Posts: DB.query(actual_query) values.clear() - if len(values) >= 0: + if len(values) > 0: values_str = ','.join(values) actual_query = sql.format(values_str) DB.query(actual_query)