update hosted.py

This commit is contained in:
Franzi 2024-12-04 16:55:31 +01:00
parent fab7ccd1f9
commit ff0c7fc375

View file

@ -422,6 +422,11 @@ class Configuration(object):
def metadata(self):
return self._config['__metadata']
@property
def metadata_timezone(self):
import pytz
return pytz.timezone(self.metadata['timezone'])
def __getitem__(self, key):
return self._parsed[key]