Show More
@@ -468,7 +468,7 b' class FileNode(Node):' | |||
|
468 | 468 | mtype, encoding = db.guess_type(self.name) |
|
469 | 469 | |
|
470 | 470 | if mtype is None: |
|
471 | if self.is_binary: | |
|
471 | if not self.is_largefile() and self.is_binary: | |
|
472 | 472 | mtype = 'application/octet-stream' |
|
473 | 473 | encoding = None |
|
474 | 474 | else: |
@@ -839,6 +839,7 b' class LargeFileNode(FileNode):' | |||
|
839 | 839 | self.org_path = org_path |
|
840 | 840 | self.kind = NodeKind.LARGEFILE |
|
841 | 841 | self.alias = alias |
|
842 | self._content = '' | |
|
842 | 843 | |
|
843 | 844 | def _validate_path(self, path): |
|
844 | 845 | """ |
General Comments 0
You need to be logged in to leave comments.
Login now