From 6575c4ec0ebd8b5801b3d1bc038150af96c8e2ee Mon Sep 17 00:00:00 2001 From: Robert Goldmann <deadlocker@gmx.de> Date: Fri, 28 Apr 2023 18:49:04 +0200 Subject: [PATCH] updated README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c644099..6ce8997 100644 --- a/README.md +++ b/README.md @@ -131,7 +131,7 @@ from typing import Dict from flask import Blueprint -from logic.tile.Tile import Tile +from dashboard_leaf.logic.tile.Tile import Tile class MyCustomClockTile(Tile): EXAMPLE_SETTINGS = {} @@ -257,7 +257,7 @@ class MyWeatherService(MultiCacheKeyService): The services inside the `services` folder will be automatically scanned and recognized upon server start. There is no need to perform a special registration. To use your service inside a tile use the following lines: ```python -from logic.service.ServiceManager import ServiceManager +from dashboard_leaf.logic.service.ServiceManager import ServiceManager weatherService = ServiceManager.get_instance().get_service_by_type_name('MyWeatherService') cacheKey = f'{pageName}_{self._uniqueName}' -- GitLab