(self)
| 179 | |
| 180 | class reload: |
| 181 | def GET(self): |
| 182 | if servers := config.get("plugin_admin", {}).get("webservers", []): |
| 183 | body = "".join(self.reload(servers)) |
| 184 | else: |
| 185 | body = "No webservers specified in the configuration file." |
| 186 | |
| 187 | return render_template("message", "Reload", body) |
| 188 | |
| 189 | def reload(self, servers): |
| 190 | for s in servers: |
nothing calls this directly
no test coverage detected