Commit 25d0fab9 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update Articles and MsgCollection to use super()

parent ec43e308
......@@ -24,7 +24,7 @@ class Articles(Automaton):
def __init__(self, *args, **kwargs):
Automaton.__init__(self, *args, **kwargs)
super().__init__(*args, **kwargs)
# the preprint categories
self.id_preprint = get_id(self.db.categories, code="PRE")
......
......@@ -23,7 +23,7 @@ class MsgCollection(Storage):
"""
def __init__(self, error="", found=0, title="", url=""):
Storage.__init__(self)
super().__init__()
self.error = error
self.found = found
self.title = title
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment