summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/addons/ExternalScripts.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/addons/ExternalScripts.py')
-rw-r--r--pyload/plugins/addons/ExternalScripts.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/pyload/plugins/addons/ExternalScripts.py b/pyload/plugins/addons/ExternalScripts.py
index 7b7dafae4..de8afda5f 100644
--- a/pyload/plugins/addons/ExternalScripts.py
+++ b/pyload/plugins/addons/ExternalScripts.py
@@ -14,18 +14,19 @@
You should have received a copy of the GNU General Public License
along with this program; if not, see <http://www.gnu.org/licenses/>.
- @author: RaNaN
+ @author: mkaay
+ @interface-version: 0.1
"""
import subprocess
-from os import access, X_OK, makedirs
-from os.path import basename
+from os import listdir, access, X_OK, makedirs
+from os.path import join, exists, basename
-from module.plugins.Addon import Addon
-from module.utils.fs import save_join, exists, join, listdir
+from module.plugins.Hook import Hook
+from module.utils import save_join
-class ExternalScripts(Addon):
+class ExternalScripts(Hook):
__name__ = "ExternalScripts"
__version__ = "0.23"
__description__ = """Run external scripts"""