From a669c983b7f912c69e1c28c8d27bed64be344eb2 Mon Sep 17 00:00:00 2001 From: Labrys of Knossos Date: Sun, 10 Mar 2019 20:45:01 -0400 Subject: [PATCH] Fix absolute imports for qbittorrent and utorrent in Python 2.7 --- core/plugins/downloaders/torrent/qbittorrent.py | 2 ++ core/plugins/downloaders/torrent/utorrent.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/core/plugins/downloaders/torrent/qbittorrent.py b/core/plugins/downloaders/torrent/qbittorrent.py index 37671fea..ff92512c 100644 --- a/core/plugins/downloaders/torrent/qbittorrent.py +++ b/core/plugins/downloaders/torrent/qbittorrent.py @@ -1,3 +1,5 @@ +from __future__ import absolute_import + from qbittorrent import Client as qBittorrentClient import core diff --git a/core/plugins/downloaders/torrent/utorrent.py b/core/plugins/downloaders/torrent/utorrent.py index 95422bfe..634e8ca5 100644 --- a/core/plugins/downloaders/torrent/utorrent.py +++ b/core/plugins/downloaders/torrent/utorrent.py @@ -1,3 +1,5 @@ +from __future__ import absolute_import + from utorrent.client import UTorrentClient import core