Fix --exclude-directory argument
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user