Commit fe802a46 authored by Louis Paternault's avatar Louis Paternault
Browse files

Explicitely add Error to the cell plugin list (in case not a single plugin is found)

parent 7c58d92b
Pipeline #7837 passed with stage
in 1 minute and 3 seconds
......@@ -35,6 +35,7 @@ import pkg_resources
import requests
from pypimonitor.cell import load_cell_plugins
from pypimonitor.cell.base import Error
VERSION = "0.2.0-dev"
LOGGER = logging.getLogger(__name__)
......@@ -116,6 +117,7 @@ class Renderer:
for plugin
in load_cell_plugins()
}
self.cells['error'] = Error(self)
@classmethod
def from_yaml(cls, filename, form=None):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment