mirror of
https://github.com/esphome/esphome.git
synced 2025-03-13 22:28:14 +00:00
cleanup
This commit is contained in:
parent
769f5839e0
commit
40c58d7aac
@ -70,9 +70,8 @@ class FontCache(MutableMapping):
|
||||
return f"url:{value[CONF_URL]}"
|
||||
return f"file:{value[CONF_PATH]}"
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
def __init__(self):
|
||||
self.store = {}
|
||||
self.update(dict(*args, **kwargs))
|
||||
|
||||
def __delitem__(self, key):
|
||||
del self.store[self._keytransform(key)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user