crieur 1.3.0__tar.gz → 1.3.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of crieur might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: crieur
3
- Version: 1.3.0
3
+ Version: 1.3.1
4
4
  Summary: A Static Revue Generator.
5
5
  Project-URL: Homepage, https://gitlab.huma-num.fr/ecrinum/crieur
6
6
  Project-URL: Issues, https://gitlab.huma-num.fr/ecrinum/crieur/-/issues
@@ -1,4 +1,4 @@
1
1
  from pathlib import Path
2
2
 
3
- VERSION = "1.3.0"
3
+ VERSION = "1.3.1"
4
4
  ROOT_DIR = Path(__file__).parent
@@ -148,6 +148,8 @@ def collect_authors(numeros):
148
148
  for numero in numeros:
149
149
  for article in numero.articles:
150
150
  article_authors = []
151
+ if not article.authors:
152
+ continue
151
153
  for athr in article.authors:
152
154
  author_forname = athr["forname"]
153
155
  author_surname = athr["surname"]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes