summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/addon
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/addon')
-rw-r--r--pyload/plugins/addon/Checksum.py2
-rw-r--r--pyload/plugins/addon/ClickAndLoad.py2
-rw-r--r--pyload/plugins/addon/DeleteFinished.py2
-rw-r--r--pyload/plugins/addon/DownloadScheduler.py2
-rw-r--r--pyload/plugins/addon/ExternalScripts.py2
-rw-r--r--pyload/plugins/addon/ExtractArchive.py2
-rw-r--r--pyload/plugins/addon/HotFolder.py2
-rw-r--r--pyload/plugins/addon/IRCInterface.py2
-rw-r--r--pyload/plugins/addon/MergeFiles.py4
-rw-r--r--pyload/plugins/addon/MultiHome.py2
-rw-r--r--pyload/plugins/addon/RestartFailed.py2
-rw-r--r--pyload/plugins/addon/RestartSlow.py2
-rw-r--r--pyload/plugins/addon/SkipRev.py2
-rw-r--r--pyload/plugins/addon/UnSkipOnFail.py2
-rw-r--r--pyload/plugins/addon/UpdateManager.py2
-rw-r--r--pyload/plugins/addon/WindowsPhoneToastNotify.py2
16 files changed, 17 insertions, 17 deletions
diff --git a/pyload/plugins/addon/Checksum.py b/pyload/plugins/addon/Checksum.py
index ce50d1b28..d6b10d7e2 100644
--- a/pyload/plugins/addon/Checksum.py
+++ b/pyload/plugins/addon/Checksum.py
@@ -9,7 +9,7 @@ import zlib
from os import remove
from os.path import getsize, isfile, splitext
-from pyload.plugins.internal.Addon import Addon
+from pyload.plugins.Addon import Addon
from pyload.utils import safe_join, fs_encode
diff --git a/pyload/plugins/addon/ClickAndLoad.py b/pyload/plugins/addon/ClickAndLoad.py
index 1f55b15dd..f4a6314be 100644
--- a/pyload/plugins/addon/ClickAndLoad.py
+++ b/pyload/plugins/addon/ClickAndLoad.py
@@ -3,7 +3,7 @@
from socket import socket, error
from threading import Thread
-from pyload.plugins.internal.Addon import Addon
+from pyload.plugins.Addon import Addon
def forward(source, destination):
diff --git a/pyload/plugins/addon/DeleteFinished.py b/pyload/plugins/addon/DeleteFinished.py
index 43908b9a3..3a966dcd6 100644
--- a/pyload/plugins/addon/DeleteFinished.py
+++ b/pyload/plugins/addon/DeleteFinished.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
from pyload.database import style
-from pyload.plugins.internal.Addon import Addon
+from pyload.plugins.Addon import Addon
class DeleteFinished(Addon):
diff --git a/pyload/plugins/addon/DownloadScheduler.py b/pyload/plugins/addon/DownloadScheduler.py
index c1f1fca11..ea58b3d01 100644
--- a/pyload/plugins/addon/DownloadScheduler.py
+++ b/pyload/plugins/addon/DownloadScheduler.py
@@ -4,7 +4,7 @@ import re
from time import localtime
-from pyload.plugins.internal.Addon import Addon
+from pyload.plugins.Addon import Addon
class DownloadScheduler(Addon):
diff --git a/pyload/plugins/addon/ExternalScripts.py b/pyload/plugins/addon/ExternalScripts.py
index af863abb0..531e2f275 100644
--- a/pyload/plugins/addon/ExternalScripts.py
+++ b/pyload/plugins/addon/ExternalScripts.py
@@ -6,7 +6,7 @@ from itertools import chain
from os import listdir, access, X_OK, makedirs
from os.path import join, exists, basename, abspath
-from pyload.plugins.internal.Addon import Addon
+from pyload.plugins.Addon import Addon
from pyload.utils import safe_join
diff --git a/pyload/plugins/addon/ExtractArchive.py b/pyload/plugins/addon/ExtractArchive.py
index 60b66740c..1a416f901 100644
--- a/pyload/plugins/addon/ExtractArchive.py
+++ b/pyload/plugins/addon/ExtractArchive.py
@@ -51,7 +51,7 @@ if os.name != "nt":
from os import chown
from pwd import getpwnam
-from pyload.plugins.internal.Addon import Addon, threaded, Expose
+from pyload.plugins.Addon import Addon, threaded, Expose
from pyload.plugins.internal.AbstractExtractor import ArchiveError, CRCError, WrongPassword
from pyload.utils import safe_join, fs_encode
diff --git a/pyload/plugins/addon/HotFolder.py b/pyload/plugins/addon/HotFolder.py
index ff714d69e..801ed7bef 100644
--- a/pyload/plugins/addon/HotFolder.py
+++ b/pyload/plugins/addon/HotFolder.py
@@ -8,7 +8,7 @@ from os import listdir, makedirs
from os.path import exists, isfile, join
from shutil import move
-from pyload.plugins.internal.Addon import Addon
+from pyload.plugins.Addon import Addon
from pyload.utils import fs_encode, safe_join
diff --git a/pyload/plugins/addon/IRCInterface.py b/pyload/plugins/addon/IRCInterface.py
index bba8f86d8..2e0919caa 100644
--- a/pyload/plugins/addon/IRCInterface.py
+++ b/pyload/plugins/addon/IRCInterface.py
@@ -13,7 +13,7 @@ from traceback import print_exc
from pyload.api import PackageDoesNotExists, FileDoesNotExists
from pyload.network.RequestFactory import getURL
-from pyload.plugins.internal.Addon import Addon
+from pyload.plugins.Addon import Addon
from pyload.utils import formatSize
diff --git a/pyload/plugins/addon/MergeFiles.py b/pyload/plugins/addon/MergeFiles.py
index 0c9b05283..8a2573409 100644
--- a/pyload/plugins/addon/MergeFiles.py
+++ b/pyload/plugins/addon/MergeFiles.py
@@ -7,7 +7,7 @@ import re
from traceback import print_exc
-from pyload.plugins.internal.Addon import Addon, threaded
+from pyload.plugins.Addon import Addon, threaded
from pyload.utils import safe_join, fs_encode
@@ -50,7 +50,7 @@ class MergeFiles(Addon):
for name, file_list in files.iteritems():
self.logInfo(_("Starting merging of"), name)
- final_file = open(save_join(download_folder, name), "wb")
+ final_file = open(safe_join(download_folder, name), "wb")
for splitted_file in file_list:
self.logDebug("Merging part", splitted_file)
diff --git a/pyload/plugins/addon/MultiHome.py b/pyload/plugins/addon/MultiHome.py
index 3450cab27..0db1df1bf 100644
--- a/pyload/plugins/addon/MultiHome.py
+++ b/pyload/plugins/addon/MultiHome.py
@@ -2,7 +2,7 @@
from time import time
-from pyload.plugins.internal.Addon import Addon
+from pyload.plugins.Addon import Addon
class MultiHome(Addon):
diff --git a/pyload/plugins/addon/RestartFailed.py b/pyload/plugins/addon/RestartFailed.py
index f8d9da9cc..0fe0b4af6 100644
--- a/pyload/plugins/addon/RestartFailed.py
+++ b/pyload/plugins/addon/RestartFailed.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from pyload.plugins.internal.Addon import Addon
+from pyload.plugins.Addon import Addon
class RestartFailed(Addon):
diff --git a/pyload/plugins/addon/RestartSlow.py b/pyload/plugins/addon/RestartSlow.py
index f3c98c461..acf2852cd 100644
--- a/pyload/plugins/addon/RestartSlow.py
+++ b/pyload/plugins/addon/RestartSlow.py
@@ -2,7 +2,7 @@
import pycurl
-from module.plugins.Addon import Addon
+from pyload.plugins.Addon import Addon
class RestartSlow(Addon):
diff --git a/pyload/plugins/addon/SkipRev.py b/pyload/plugins/addon/SkipRev.py
index cf716c509..4a69d8e09 100644
--- a/pyload/plugins/addon/SkipRev.py
+++ b/pyload/plugins/addon/SkipRev.py
@@ -3,7 +3,7 @@
from urllib import unquote
from urlparse import urlparse
-from pyload.plugins.internal.Addon import Addon
+from pyload.plugins.Addon import Addon
from pyload.plugins.Plugin import SkipDownload
diff --git a/pyload/plugins/addon/UnSkipOnFail.py b/pyload/plugins/addon/UnSkipOnFail.py
index aade5a91e..a148f8f13 100644
--- a/pyload/plugins/addon/UnSkipOnFail.py
+++ b/pyload/plugins/addon/UnSkipOnFail.py
@@ -3,7 +3,7 @@
from os.path import basename
from pyload.datatype.PyFile import PyFile
-from pyload.plugins.internal.Addon import Addon
+from pyload.plugins.Addon import Addon
from pyload.utils import fs_encode
diff --git a/pyload/plugins/addon/UpdateManager.py b/pyload/plugins/addon/UpdateManager.py
index 577345d69..b4818c943 100644
--- a/pyload/plugins/addon/UpdateManager.py
+++ b/pyload/plugins/addon/UpdateManager.py
@@ -9,7 +9,7 @@ from operator import itemgetter
from os import path, remove, stat
from pyload.network.RequestFactory import getURL
-from pyload.plugins.internal.Addon import Expose, Addon, threaded
+from pyload.plugins.Addon import Expose, Addon, threaded
from pyload.utils import safe_join
diff --git a/pyload/plugins/addon/WindowsPhoneToastNotify.py b/pyload/plugins/addon/WindowsPhoneToastNotify.py
index dc618d2d4..a6da7cd20 100644
--- a/pyload/plugins/addon/WindowsPhoneToastNotify.py
+++ b/pyload/plugins/addon/WindowsPhoneToastNotify.py
@@ -3,7 +3,7 @@
import httplib
import time
-from pyload.plugins.internal.Addon import Addon
+from pyload.plugins.Addon import Addon
class WindowsPhoneToastNotify(Addon):