Checks if pyload will start new downloads according to time in config. :return: bool
(self)
| 270 | |
| 271 | @permission(PERMS.STATUS) |
| 272 | def isTimeDownload(self): |
| 273 | """Checks if pyload will start new downloads according to time in config. |
| 274 | |
| 275 | :return: bool |
| 276 | """ |
| 277 | start = self.core.config['downloadTime']['start'].split(":") |
| 278 | end = self.core.config['downloadTime']['end'].split(":") |
| 279 | return compare_time(start, end) |
| 280 | |
| 281 | @permission(PERMS.STATUS) |
| 282 | def isTimeReconnect(self): |
no test coverage detected