Renames src to lbry_comment_server

This commit is contained in:
Oleg Silkin 2019-05-20 02:59:54 -04:00
parent 2e39c729d3
commit c916a34abd
5 changed files with 7 additions and 5 deletions

View file

@ -0,0 +1,2 @@
from lbry_comment_server.database import DatabaseConnection
from lbry_comment_server.conf import database_dir, anonymous

View file

@ -3,7 +3,7 @@ import typing
import re import re
import nacl.hash import nacl.hash
import time import time
from src.conf import * from lbry_comment_server.conf import *
def validate_input(**kwargs): def validate_input(**kwargs):

View file

@ -3,8 +3,8 @@ import json
from aiohttp import web from aiohttp import web
from src import database_dir from lbry_comment_server import database_dir
from src.database import DatabaseConnection from lbry_comment_server.database import DatabaseConnection
ERRORS = { ERRORS = {
'INVALID_PARAMS': {'code': -32602, 'message': 'Invalid parameters'}, 'INVALID_PARAMS': {'code': -32602, 'message': 'Invalid parameters'},

View file

@ -4,8 +4,8 @@ from faker.providers import internet
from faker.providers import lorem from faker.providers import lorem
from faker.providers import misc from faker.providers import misc
import src.conf import conf
import src.database as db import lbry_comment_server.database as db
import sqlite3 import sqlite3
import faker import faker
from random import randint from random import randint