diff --git a/owrx/controllers/file.py b/owrx/controllers/file.py index 9facc3fe..c5117934 100644 --- a/owrx/controllers/file.py +++ b/owrx/controllers/file.py @@ -38,7 +38,7 @@ class FilesController(WebpageController): rows += '\n' # Show images as they are, show document icon for the rest if self.isimg.match(files[i]): - shot = "/files/" + files[i] + shot = "files/" + files[i] elif self.issnd.match(files[i]): shot = "static/gfx/audio-file.png" else: @@ -52,7 +52,7 @@ class FilesController(WebpageController): buttons = "" # Print out individual tiles rows += ('' + - ('' % (files[i], files[i])) + + ('' % (files[i], files[i])) + ('' % (shot, files[i])) + ('

%s

' % files[i]) + ('
%s\n' % buttons))