Source plugin (#963)

* Ensuring that we have default options for source plugins.

* Handle duplicate serials. Serials are not unique across issuers.

* Minor fix.
This commit is contained in:
kevgliss 2017-10-06 13:22:03 -07:00 committed by GitHub
parent dc34652efd
commit b66d7ce1fd
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ def get_by_serial(serial):
:param serial:
:return:
"""
return Certificate.filter(Certificate.serial == serial).all()
return Certificate.query.filter(Certificate.serial == serial).all()
def delete(cert_id):