(self)
| 38 | CHECK_INTERVAL = 3 * 60 * 60 #: 3 hours |
| 39 | |
| 40 | def activate(self): |
| 41 | if self.checkonstart: |
| 42 | self.pyload.api.pauseServer() |
| 43 | self.update() |
| 44 | |
| 45 | if self.do_restart is False: |
| 46 | self.pyload.api.unpauseServer() |
| 47 | |
| 48 | self.periodical.start(10) |
| 49 | |
| 50 | def init(self): |
| 51 | self.info.update({ |
nothing calls this directly
no test coverage detected