Commit a82d60f9 authored by Matthias's avatar Matthias
Browse files

trim password newline

parent 7f9f0ef9
Pipeline #25316 passed with stages
in 1 minute and 47 seconds
......@@ -21,7 +21,7 @@ class Indexer:
logging.debug(f"Connecting to DB {os.environ['MARIADB_DATABASE']} on "
f"{os.environ['MARIADB_HOST']}:{os.environ['MARIADB_PORT']}")
mariadb_connection = mariadb.connect(user=os.environ['MARIADB_USER'],
password=os.environ['MARIADB_PASSWORD'],
password=os.environ['MARIADB_PASSWORD'].rstrip(),
host=os.environ['MARIADB_HOST'],
port=int(os.environ['MARIADB_PORT']),
database=os.environ['MARIADB_DATABASE'])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment