Fix in paramecio2db
This commit is contained in:
parent
61c76e3031
commit
814c67f5a5
2 changed files with 8 additions and 3 deletions
|
|
@ -10,9 +10,14 @@ from pathlib import Path
|
|||
from colorama import init, Fore, Back, Style
|
||||
from importlib import import_module, reload
|
||||
from paramecio2.libraries.db.webmodel import WebModel
|
||||
from settings import config
|
||||
|
||||
#from models import books
|
||||
sys.path.insert(0, os.path.realpath('.'))
|
||||
|
||||
try:
|
||||
from settings import config
|
||||
except:
|
||||
print('You need a settings directory with a paramecio2 configuration')
|
||||
sys.exit(1)
|
||||
|
||||
def start():
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue