From a07bb582ec7498e30f48cb5c7e69a5613464eeb8 Mon Sep 17 00:00:00 2001 From: Roman Mogilatov Date: Tue, 5 Apr 2016 00:41:45 +0300 Subject: [PATCH] Update movie_lister example --- examples/stories/movie_lister/app_db.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/stories/movie_lister/app_db.py b/examples/stories/movie_lister/app_db.py index 20dfa522..cdcd47c4 100644 --- a/examples/stories/movie_lister/app_db.py +++ b/examples/stories/movie_lister/app_db.py @@ -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)