|
@@ -142,7 +142,7 @@ _category_names = (gettext('files'),
|
142
|
142
|
gettext('map'),
|
143
|
143
|
gettext('science'))
|
144
|
144
|
|
145
|
|
-outgoing_proxies = settings['outgoing'].get('proxies', None)
|
|
145
|
+outgoing_proxies = settings['outgoing'].get('proxies') or None
|
146
|
146
|
|
147
|
147
|
|
148
|
148
|
@babel.localeselector
|
|
@@ -353,7 +353,7 @@ def render(template_name, override_theme=None, **kwargs):
|
353
|
353
|
|
354
|
354
|
kwargs['image_proxify'] = image_proxify
|
355
|
355
|
|
356
|
|
- kwargs['proxify'] = proxify if settings.get('result_proxy') else None
|
|
356
|
+ kwargs['proxify'] = proxify if settings.get('result_proxy', {}).get('url') else None
|
357
|
357
|
|
358
|
358
|
kwargs['get_result_template'] = get_result_template
|
359
|
359
|
|