Commit 92ac3c87da843cff20da540b91e98994e6fc2846
1 parent
e8435406
Exists in
master
and in
39 other branches
Changing or by and
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/colab/deprecated/solrutils.py
@@ -137,7 +137,7 @@ def select(query, results_per_page=None, page_number=None, sort=None, fields=Non | @@ -137,7 +137,7 @@ def select(query, results_per_page=None, page_number=None, sort=None, fields=Non | ||
137 | 137 | ||
138 | """ | 138 | """ |
139 | 139 | ||
140 | - if not settings.SOLR_HOSTNAME or not settings.SOCKS_PORT: | 140 | + if not settings.SOLR_HOSTNAME and not settings.SOCKS_PORT: |
141 | return {} | 141 | return {} |
142 | 142 | ||
143 | data = { | 143 | data = { |