aboutsummaryrefslogtreecommitdiff
path: root/manager.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-11-26 18:47:10 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-11-26 18:47:10 +0100
commitd8d46c33dc766b904124eaad2dee5d7964711060 (patch)
treef549b7cd3acfa99425d4c7248e8b431de695bc7f /manager.py
parentBug fix in the crawler when logging the creation of articles. (diff)
downloadnewspipe-d8d46c33dc766b904124eaad2dee5d7964711060.tar.gz
newspipe-d8d46c33dc766b904124eaad2dee5d7964711060.tar.bz2
newspipe-d8d46c33dc766b904124eaad2dee5d7964711060.zip
More refactorization.
Diffstat (limited to 'manager.py')
-rwxr-xr-xmanager.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/manager.py b/manager.py
index 5b30b074..5aedbe18 100755
--- a/manager.py
+++ b/manager.py
@@ -17,14 +17,14 @@ def db_empty():
"Will drop every datas stocked in db."
with application.app_context():
populate_g()
- jarr.models.db_empty(db)
+ web.models.db_empty(db)
@manager.command
def db_create():
"Will create the database from conf parameters."
with application.app_context():
populate_g()
- jarr.models.db_create(db)
+ web.models.db_create(db)
@manager.command
def fetch(limit=100, retreive_all=False):
bgstack15