Merge pull request #1165 from imachug/dbquery

DbQuery and Newsfeed bug
This commit is contained in:
ZeroNet 2017-11-04 13:01:05 +01:00 committed by GitHub
commit 8242e91238
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -22,6 +22,8 @@ class DbQuery:
def parseWheres(self, query_where):
if " AND " in query_where:
return query_where.split(" AND ")
elif query_where:
return [query_where]
else:
return []