Skip to content

Can't delete movie from movie-list using cmdline #1606

@drwyrm

Description

@drwyrm

Actual behaviour:

$ ./bin/flexget movie-list del "movies queue" "The Fantastic Four 2"
Traceback (most recent call last):
  File "./bin/flexget", line 9, in <module>
    load_entry_point('FlexGet==2.8.17.dev', 'console_scripts', 'flexget')()
  File "/home/wyrm/flexget/flexget/__init__.py", line 42, in main
    manager.start()
  File "/home/wyrm/flexget/flexget/manager.py", line 327, in start
    self.handle_cli()
  File "/home/wyrm/flexget/flexget/manager.py", line 354, in handle_cli
    options.cli_command_callback(self, command_options)
  File "/home/wyrm/flexget/flexget/plugins/cli/movie_list.py", line 76, in do_cli
    movie_list_del(options)
  File "/home/wyrm/flexget/flexget/plugins/cli/movie_list.py", line 181, in movie_list_del
    title, year = split_title_year(options.movie_title)
  File "/home/wyrm/flexget/flexget/options.py", line 157, in __getattr__
    return getattr(self.__parent__, key)
  File "/home/wyrm/flexget/flexget/options.py", line 158, in __getattr__
    raise AttributeError("'%s' object has no attribute '%s'" % (type(self).__name__, key))
AttributeError: 'ScopedNamespace' object has no attribute 'movie_title'

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions