Skip to content

Commit

Permalink
Merge pull request #2 from wanaryytel/master
Browse files Browse the repository at this point in the history
Fixed a bug when CertificatePolicy doesn't have a description
  • Loading branch information
Jyrno42 authored Jul 28, 2016
2 parents 88b198f + 1f5fbf2 commit 69a0c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esteid/digidocservice/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def __init__(self, size, id, mime_type, content_type, digest_value, digest_type,


class CertificatePolicy(BaseDigidocServiceObject):
def __init__(self, description, url, oid):
def __init__(self, url, oid, description=None):
self.description = description
self.url = url
self.oid = oid
Expand Down

0 comments on commit 69a0c7e

Please sign in to comment.