Update movie_lister example

This commit is contained in:
Roman Mogilatov 2016-04-05 00:41:45 +03:00
parent 8fc14498f5
commit a07bb582ec
1 changed files with 1 additions and 2 deletions

View File

@ -24,8 +24,7 @@ from settings import MOVIES_DB_PATH
class ApplicationModule(catalogs.DeclarativeCatalog):
"""Catalog of application component providers."""
database = providers.Singleton(sqlite3.connect,
MOVIES_DB_PATH)
database = providers.Singleton(sqlite3.connect, MOVIES_DB_PATH)
@catalogs.override(MoviesModule)