Show More
1 | NO CONTENT: new file 100644, binary diff hidden |
|
NO CONTENT: new file 100644, binary diff hidden |
@@ -105,7 +105,7 b' class AbstractViewer:' | |||||
105 | self.file_type = file_type |
|
105 | self.file_type = file_type | |
106 | self.id = id |
|
106 | self.id = id | |
107 | self.url = url |
|
107 | self.url = url | |
108 | self.extension = get_extension(self.file.name) |
|
108 | self.extension = get_extension(self.file.name).lower() | |
109 |
|
109 | |||
110 | @staticmethod |
|
110 | @staticmethod | |
111 | def supports(file_type): |
|
111 | def supports(file_type): |
General Comments 0
You need to be logged in to leave comments.
Login now