Fix excluded directory not working
This commit is contained in:
@ -278,8 +278,6 @@ class FreeboxMoviePlanner:
|
||||
|
||||
def excludeLocalMovies(self, directory):
|
||||
(_, _, filenames) = next(os.walk(directory))
|
||||
for f in filenames:
|
||||
print(f)
|
||||
logging.warning('Dropping movies already recorded: {}'.format(
|
||||
[ m for m in self.movies if m.title+'.m2ts' in filenames ]
|
||||
))
|
||||
|
Reference in New Issue
Block a user