Fixes in dbadmin
This commit is contained in:
parent
f32a2ad252
commit
97019daaa5
1 changed files with 5 additions and 5 deletions
|
|
@ -32,11 +32,11 @@ from importlib import import_module, reload
|
|||
from parameciofast.libraries.db.webmodel import WebModel
|
||||
sys.path.insert(0, os.path.realpath('.'))
|
||||
|
||||
#try:
|
||||
from settings import config
|
||||
#except:
|
||||
#print('You need a settings directory with a parameciofast configuration')
|
||||
#sys.exit(1)
|
||||
try:
|
||||
from settings import config
|
||||
except ImportError:
|
||||
print('You need a settings directory with a parameciofast configuration')
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
def start():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue