Guest User

Untitled

a guest
Jul 21st, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. --- a/core.py 2018-07-22 00:29:26.986179729 +0200
  2. +++ b/core.py 2018-07-22 00:32:46.588600377 +0200
  3. @@ -39,6 +39,7 @@
  4. import datetime
  5. import logging
  6. import os
  7. +from time import sleep
  8.  
  9. import twisted.internet
  10.  
  11. @@ -733,7 +734,7 @@
  12.  
  13. @check_init
  14. def on_torrent_added(self, torrent_id):
  15. -
  16. + sleep(1)
  17. label_id = self._do_autolabel_torrent(torrent_id)
  18.  
  19. if label_id != labelplus.common.label.ID_NONE:
Add Comment
Please, Sign In to add comment