Skip to content

Instantly share code, notes, and snippets.

@mhertz mhertz/core.patch
Last active Jul 22, 2018

Embed
What would you like to do?
LabelPlus v0.3.2.2 fixed to work with magnets too.
--- a/deluge-labelplus/labelplus/core/core.py 2018-07-22 21:52:18.126482042 +0200
+++ b/deluge-labelplus/labelplus/core/core.py 2018-07-22 21:53:29.439466952 +0200
@@ -39,6 +39,7 @@
import datetime
import logging
import os
+from time import sleep
import twisted.internet
@@ -733,7 +734,7 @@
@check_init
def on_torrent_added(self, torrent_id):
-
+ sleep(1)
label_id = self._do_autolabel_torrent(torrent_id)
if label_id != labelplus.common.label.ID_NONE:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.