Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
memoriav
Memobase 2020
services
postprocessing
Media Metadata Indexer
Commits
a82d60f9
Commit
a82d60f9
authored
Apr 22, 2021
by
Matthias
Browse files
trim password newline
parent
7f9f0ef9
Pipeline
#25316
passed with stages
in 1 minute and 47 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
mediametadatatodb_app/resources/indexer.py
View file @
a82d60f9
...
...
@@ -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'
])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment