From 0f5ea0f88fcc49330863df1988423626f4c26f99 Mon Sep 17 00:00:00 2001 From: Oleg Silkin Date: Sun, 4 Aug 2019 18:05:03 -0400 Subject: [PATCH] Fixes importerror --- src/__init__.py | 2 -- src/database/__init__.py | 0 src/server/app.py | 4 ++-- 3 files changed, 2 insertions(+), 4 deletions(-) create mode 100644 src/database/__init__.py diff --git a/src/__init__.py b/src/__init__.py index b28b04f..8b13789 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -1,3 +1 @@ - - diff --git a/src/database/__init__.py b/src/database/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/server/app.py b/src/server/app.py index 2512801..520120f 100644 --- a/src/server/app.py +++ b/src/server/app.py @@ -9,8 +9,8 @@ import aiojobs.aiohttp import asyncio from aiohttp import web -from database.queries import setup_database, backup_database -from database.queries import obtain_connection, DatabaseWriter +from src.database.queries import setup_database, backup_database +from src.database.queries import obtain_connection, DatabaseWriter from src.server.handles import api_endpoint, get_api_endpoint logger = logging.getLogger(__name__)