Skip to content

Commit

Permalink
Update deluge/ui/console/cmdline/commands/move.py
Browse files Browse the repository at this point in the history
Co-authored-by: Calum Lind <[email protected]>
  • Loading branch information
mhertz and cas-- authored Sep 10, 2024
1 parent 3924972 commit c49c3d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deluge/ui/console/cmdline/commands/move.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ def handle(self, options):
for t_id in options.torrent_ids:
tid = self.console.match_torrent(t_id)
ids.extend(tid)
for name in tid:
names.append(self.console.get_torrent_name(name))
ids = self.console.match_torrents(options.torrent_ids)
names = [self.console.get_torrent_name(id) for id in ids]

def on_move(res):
msg = 'Moved "{}" to {}'.format(', '.join(names), options.path)
Expand Down

0 comments on commit c49c3d2

Please sign in to comment.