Skip to content

Commit 61e2439

Browse files
committed
remove file
1 parent 1255e42 commit 61e2439

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

database.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111

1212
def get_db():
13-
ithaca_db = SessionLocal()
13+
db = SessionLocal()
1414
try:
15-
yield ithaca_db
15+
yield db
1616
finally:
17-
ithaca_db.close()
17+
db.close()

0 commit comments

Comments
 (0)