Renames src to lbry_comment_server
This commit is contained in:
parent
2e39c729d3
commit
c916a34abd
5 changed files with 7 additions and 5 deletions
2
lbry_comment_server/__init__.py
Normal file
2
lbry_comment_server/__init__.py
Normal file
|
@ -0,0 +1,2 @@
|
|||
from lbry_comment_server.database import DatabaseConnection
|
||||
from lbry_comment_server.conf import database_dir, anonymous
|
|
@ -3,7 +3,7 @@ import typing
|
|||
import re
|
||||
import nacl.hash
|
||||
import time
|
||||
from src.conf import *
|
||||
from lbry_comment_server.conf import *
|
||||
|
||||
|
||||
def validate_input(**kwargs):
|
|
@ -3,8 +3,8 @@ import json
|
|||
|
||||
from aiohttp import web
|
||||
|
||||
from src import database_dir
|
||||
from src.database import DatabaseConnection
|
||||
from lbry_comment_server import database_dir
|
||||
from lbry_comment_server.database import DatabaseConnection
|
||||
|
||||
ERRORS = {
|
||||
'INVALID_PARAMS': {'code': -32602, 'message': 'Invalid parameters'},
|
|
@ -4,8 +4,8 @@ from faker.providers import internet
|
|||
from faker.providers import lorem
|
||||
from faker.providers import misc
|
||||
|
||||
import src.conf
|
||||
import src.database as db
|
||||
import conf
|
||||
import lbry_comment_server.database as db
|
||||
import sqlite3
|
||||
import faker
|
||||
from random import randint
|
||||
|
|
Loading…
Reference in a new issue