Fix --exclude-directory argument
This commit is contained in:
1 parent
c9eb733014
commit
47c5c3380f
1 file changed
+3
-1
@@ -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