Spaces:
Sleeping
Sleeping
Tobias Geisler
commited on
Commit
·
e821c30
1
Parent(s):
8845a3f
minor
Browse files- database.py +1 -1
database.py
CHANGED
|
@@ -22,7 +22,7 @@ logging.basicConfig(level=logging.INFO)
|
|
| 22 |
logger = logging.getLogger(__name__)
|
| 23 |
|
| 24 |
try:
|
| 25 |
-
logger.info("Connecting to database
|
| 26 |
engine = create_engine(DATABASE_URL, connect_args={"connect_timeout": 10})
|
| 27 |
# Test the connection
|
| 28 |
with engine.connect() as connection:
|
|
|
|
| 22 |
logger = logging.getLogger(__name__)
|
| 23 |
|
| 24 |
try:
|
| 25 |
+
logger.info("Connecting to database.")
|
| 26 |
engine = create_engine(DATABASE_URL, connect_args={"connect_timeout": 10})
|
| 27 |
# Test the connection
|
| 28 |
with engine.connect() as connection:
|