[AB-207] fixing command being disabled, if its part of a channel group, but the given channel is not part of that channel group

fixing null pointer in channel group created listener
fixing connection string in config deploy tool
This commit is contained in:
Sheldan
2021-03-23 22:08:08 +01:00
parent 92b8e1dd8b
commit 2b3b0f42c4
4 changed files with 95 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ from sqlalchemy.sql import text
def deploy_template_folder(db_config, folder):
engine = db.create_engine('postgres://%s:%s@%s:%s/%s' % (db_config.user, db_config.password, db_config.host, db_config.port, db_config.database))
engine = db.create_engine('postgresql://%s:%s@%s:%s/%s' % (db_config.user, db_config.password, db_config.host, db_config.port, db_config.database))
if not os.path.isdir(folder):
print("Given path was not a folder. Exiting.")