Moves database file to server and makes the database into a class

This commit is contained in:
Oleg Silkin 2019-05-19 02:25:15 -04:00
parent 06fc7c0de7
commit 7c92ab3aa6

View file

@ -1,9 +1,7 @@
import typing
import asyncio import asyncio
from aiohttp import web from aiohttp import web
import database as db import server.database as db
ERRORS = { ERRORS = {
'INVALID_PARAMS': {'code': -32602, 'message': 'Invalid parameters'}, 'INVALID_PARAMS': {'code': -32602, 'message': 'Invalid parameters'},