Skip to content

Plugin not working due to appending to a tuple (and simple solution) #10

@atkdef

Description

@atkdef

I got this error when I started the plugin.

[ERROR ] 00:30:23 eventmanager:59 Event handler TorrentAddedEvent failed in <b
ound method Core.on_torrent_added of <defaulttrackers.core.Core object at 0x7fe6
b4278590>> with exception 'tuple' object has no attribute 'append'

Not sure if anyone else faces the same error. To fix this, the simple way is to change core.py Line 73:
trackers = torrent.get_status(["trackers"])["trackers"]
to
trackers = list(torrent.get_status(["trackers"])["trackers"])

Hope this helps those who having the same problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions