diff --git a/freepost/__init__.py b/freepost/__init__.py index e699a74..3431014 100644 --- a/freepost/__init__.py +++ b/freepost/__init__.py @@ -22,7 +22,7 @@ application = bottle.app () # Load user settings for this app with open ('settings.yaml', encoding='UTF-8') as file: - settings = yaml.load (file) + settings = yaml.safe_load (file) # Directories to search for app templates bottle.TEMPLATE_PATH = [ './freepost/templates' ] diff --git a/requirements.txt b/requirements.txt index d565677..596e85b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,8 +3,8 @@ bottle python-dateutil jinja2 markdown -pyld +# pyld pysqlite3 pyyaml -requests +# requests timeago