|
@@ -18,10 +18,11 @@ class Book:
|
|
|
|
|
|
@property
|
|
|
def authors(self):
|
|
|
- authors = self.specs.get("Auteur", None)
|
|
|
- if authors:
|
|
|
- return self.specs["Auteur"].split("\n")
|
|
|
- return None
|
|
|
+ for key in ["Auteur", "Redacteur"]:
|
|
|
+ authors = self.specs.get(key, None)
|
|
|
+ if authors:
|
|
|
+ return authors.split("\n")
|
|
|
+ return []
|
|
|
|
|
|
@property
|
|
|
def publisher(self):
|