(self, inner_path)
| 1058 | |
| 1059 | # File downloaded successful |
| 1060 | def fileDone(self, inner_path): |
| 1061 | # File downloaded, remove it from bad files |
| 1062 | if inner_path in self.bad_files: |
| 1063 | if config.verbose: |
| 1064 | self.log.debug("Bad file solved: %s" % inner_path) |
| 1065 | del(self.bad_files[inner_path]) |
| 1066 | |
| 1067 | # Update content.json last downlad time |
| 1068 | if inner_path == "content.json": |
| 1069 | if not self.settings.get("downloaded"): |
| 1070 | self.settings["downloaded"] = int(time.time()) |
| 1071 | self.content_updated = time.time() |
| 1072 | |
| 1073 | self.updateWebsocket(file_done=inner_path) |
| 1074 | |
| 1075 | # File download failed |
| 1076 | def fileFailed(self, inner_path): |
no test coverage detected