aboutsummaryrefslogtreecommitdiff
path: root/source/pyAggr3g470r.py
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2012-10-22 00:25:00 +0200
committercedricbonhomme <devnull@localhost>2012-10-22 00:25:00 +0200
commit6a2218acb0b1dfc068473ed140b4308af283a3f8 (patch)
tree89e8f2ac17500a21972f8b57fa8e51691d821a05 /source/pyAggr3g470r.py
parentAuthentication is now required for all pages. (diff)
downloadnewspipe-6a2218acb0b1dfc068473ed140b4308af283a3f8.tar.gz
newspipe-6a2218acb0b1dfc068473ed140b4308af283a3f8.tar.bz2
newspipe-6a2218acb0b1dfc068473ed140b4308af283a3f8.zip
Bug fix in drop base function. The wrong database name was used.
Diffstat (limited to 'source/pyAggr3g470r.py')
-rwxr-xr-xsource/pyAggr3g470r.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pyAggr3g470r.py b/source/pyAggr3g470r.py
index 2fac78e0..6a71b7f2 100755
--- a/source/pyAggr3g470r.py
+++ b/source/pyAggr3g470r.py
@@ -1206,7 +1206,7 @@ class pyAggr3g470r(object):
"""
Delete all articles.
"""
- self.mongo.drop_database()
+ self.mongo.drop_database(conf.MONGODB_DBNAME)
return self.index()
drop_base.exposed = True
bgstack15