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