diff --git a/FreeboxMoviePlanner.py b/FreeboxMoviePlanner.py index bae7610..049eff0 100755 --- a/FreeboxMoviePlanner.py +++ b/FreeboxMoviePlanner.py @@ -345,7 +345,8 @@ if __name__ == '__main__': ) parser.add_argument( '-x', '--exclude-directory', - nargs=1, + action='append', + default=[], help='''Do not display movies available in the following directory. This will prevent you from recording the same movie multiple times.''' @@ -359,6 +360,7 @@ if __name__ == '__main__': movies = TVGuideScraper._getMovies() else: movies = TVGuideScraper.findAllMovies() + print(args.exclude_directory) fmp = FreeboxMoviePlanner( movies, excluded_channels=args.exclude,