(self, str_recv)
| 99 | |
| 100 | # parse PJL file errors |
| 101 | def fileerror(self, str_recv): |
| 102 | self.error = None |
| 103 | for code in re.findall("FILEERROR\s*=\s*(\d+)", str_recv): |
| 104 | # file errors are 300xx codes |
| 105 | code = "3" + code.zfill(4) |
| 106 | for error in codebook().get_errors(code): |
| 107 | self.chitchat("PJL Error: " + error) |
| 108 | self.error = code |
| 109 | |
| 110 | # -------------------------------------------------------------------- |
| 111 | # check if remote volume exists |
no test coverage detected