mirror of
https://github.com/mgeeky/Penetration-Testing-Tools.git
synced 2024-11-22 10:31:38 +01:00
Update py-collaborator-server.py
This commit is contained in:
parent
2c4713e956
commit
06834ed0fe
@ -301,6 +301,7 @@ def main(argv):
|
|||||||
config.update(json.loads(open(CONFIGURATION_FILE).read()))
|
config.update(json.loads(open(CONFIGURATION_FILE).read()))
|
||||||
|
|
||||||
if not connectToDatabase():
|
if not connectToDatabase():
|
||||||
|
Logger.err('Could not connect to database: {}'.format(config['mysql-host']))
|
||||||
sys.exit(-1)
|
sys.exit(-1)
|
||||||
|
|
||||||
initDatabase()
|
initDatabase()
|
||||||
|
Loading…
Reference in New Issue
Block a user