(self)
| 156 | return os.path.isfile(path) and open(path).read() == self.formatAutorun() |
| 157 | |
| 158 | def titleAutorun(self): |
| 159 | translate = _["Start ZeroNet when Windows starts"] |
| 160 | if self.isAutorunEnabled(): |
| 161 | return "+" + translate |
| 162 | else: |
| 163 | return translate |
| 164 | |
| 165 | def toggleAutorun(self): |
| 166 | if self.isAutorunEnabled(): |
nothing calls this directly
no test coverage detected