mirror of
https://github.com/beetbox/beets.git
synced 2026-02-22 15:22:42 +01:00
Fix parameter order and binding
The calls didn't match up with the parameter order.
This commit is contained in:
parent
231528784d
commit
714560aace
2 changed files with 3 additions and 3 deletions
|
|
@ -1450,8 +1450,8 @@ default_commands.append(modify_cmd)
|
|||
|
||||
# move: Move/copy files to the library or a new base directory.
|
||||
|
||||
def move_items(lib, dest, query, copy, album, pretend, export=False,
|
||||
confirm=False):
|
||||
def move_items(lib, dest, query, copy, album, pretend, confirm=False,
|
||||
export=False):
|
||||
"""Moves or copies items to a new base directory, given by dest. If
|
||||
dest is None, then the library's base directory is used, making the
|
||||
command "consolidate" files.
|
||||
|
|
|
|||
|
|
@ -499,7 +499,7 @@ class ExportTest(_common.TestCase):
|
|||
def _move(self, query=(), dest=None, copy=False, album=False,
|
||||
pretend=False, export=True):
|
||||
commands.move_items(self.lib, dest, query, copy, album,
|
||||
pretend, export)
|
||||
pretend, export=export)
|
||||
|
||||
def test_export_item(self):
|
||||
self._move()
|
||||
|
|
|
|||
Loading…
Reference in a new issue