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 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):
|
|
@ -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'},
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue