mirror of
https://github.com/Kunsi/scheduled-plugin-pretalx-broadcast-tools.git
synced 2024-12-22 00:02:44 +00:00
update hosted.py
This commit is contained in:
parent
fab7ccd1f9
commit
ff0c7fc375
1 changed files with 5 additions and 0 deletions
|
@ -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]
|
||||
|
||||
|
|
Loading…
Reference in a new issue