diff --git a/RevuesDePresse.py b/RevuesDePresse.py index d1d1005..06466dd 100644 --- a/RevuesDePresse.py +++ b/RevuesDePresse.py @@ -61,7 +61,7 @@ class RevuesDePresse(BaseContent): filenames.sort(cmp_filenames) all_links = [] for filename in filenames: - if not os.path.startswith('Review'): + if not filename.startswith('Review'): continue if not os.path.splitext(filename)[-1].lower() == '.pdf': continue