Show More
@@ -81,6 +81,8 b' class AbstractViewer:' | |||
|
81 | 81 | def get_view(self): |
|
82 | 82 | search_host = settings.get('External', 'ImageSearchHost') |
|
83 | 83 | if search_host: |
|
84 | if search_host.endswith('/'): | |
|
85 | search_host = search_host[:-1] | |
|
84 | 86 | search_url = search_host + self.file.url |
|
85 | 87 | else: |
|
86 | 88 | search_url = '' |
General Comments 0
You need to be logged in to leave comments.
Login now