summaryrefslogtreecommitdiff
path: root/web-server/opendc/util
diff options
context:
space:
mode:
Diffstat (limited to 'web-server/opendc/util')
-rw-r--r--web-server/opendc/util/database.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/web-server/opendc/util/database.py b/web-server/opendc/util/database.py
index 09d241b5..12d6afc9 100644
--- a/web-server/opendc/util/database.py
+++ b/web-server/opendc/util/database.py
@@ -17,8 +17,8 @@ class Database:
def init_database(self, user, password, database, host):
"""Initializes the database connection."""
- user = urllib.parse.quote_plus(user) # TODO: replace this with environment variable
- password = urllib.parse.quote_plus(password) # TODO: same as above
+ user = urllib.parse.quote_plus(user)
+ password = urllib.parse.quote_plus(password)
database = urllib.parse.quote_plus(database)
host = urllib.parse.quote_plus(host)