From 2f81ebc8ce869bf82c1fba810018baa8ce67d837 Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Sun, 16 Aug 2020 17:00:38 +0100 Subject: [PATCH] Fix docker setup --- my_project_name/main.py | 2 +- setup.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/my_project_name/main.py b/my_project_name/main.py index 444d569..d61518a 100644 --- a/my_project_name/main.py +++ b/my_project_name/main.py @@ -32,7 +32,7 @@ async def main(): config = Config(config_path) # Configure the database - store = Storage(config) + store = Storage(config.database) # Configuration options for the AsyncClient client_config = AsyncClientConfig( diff --git a/setup.py b/setup.py index 09675be..54e2196 100644 --- a/setup.py +++ b/setup.py @@ -36,6 +36,7 @@ setup( "PyYAML>=5.1.2", ], extras_require={ + "postgres": ["psycopg2>=2.8.5"], "dev": [ "isort==5.0.4", "flake8==3.8.3",