Fix pep8 errors of database engines

This commit is contained in:
Noémi Ványi 2021-04-29 21:50:25 +02:00
parent fc4bf4bf10
commit 5cb29f6e46
2 changed files with 9 additions and 10 deletions

View File

@ -28,10 +28,10 @@ def init(engine_settings):
global _connection
_connection = mysql.connector.connect(
database = database,
user = username,
password = password,
host = host,
database=database,
user=username,
password=password,
host=host,
auth_plugin=auth_plugin,
)
@ -54,4 +54,3 @@ def _fetch_results(cur):
results.append(result)
return results

View File

@ -27,11 +27,11 @@ def init(engine_settings):
global _connection
_connection = psycopg2.connect(
database = database,
user = username,
password = password,
host = host,
port = port,
database=database,
user=username,
password=password,
host=host,
port=port,
)