diff --git a/transmission_to_plex/main.py b/transmission_to_plex/main.py index 02bb1da..4f4095f 100644 --- a/transmission_to_plex/main.py +++ b/transmission_to_plex/main.py @@ -15,7 +15,7 @@ def run(self): completed_torrents = [t for t in self.client.get_torrents() if t.progress == 100.0] for torrent in completed_torrents: - type_of_torrent = classifier.classify_downloaded_content(torrent.files()) + type_of_torrent = classifier.classify_downloaded_content(torrent.get_files()) self.move_files_to_plex_folder(torrent, type_of_torrent) self.client.remove_torrent([torrent.id])