Commit 87cabfc2 authored by Alexandre Dulaunoy's avatar Alexandre Dulaunoy
Browse files

Fix: display the correct number of elements in cves

parent 8c378b36
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -66,8 +66,8 @@ if args.f and args.l:


def nbelement(collection=None):
    if collection is None:
        collection = "cve"
    if collection is None or collection == "cve":
        collection = "cves"
    return db.getSize(collection)

def dropcollection(collection=None):