summaryrefslogtreecommitdiffstats
path: root/module/plugins/Crypter.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/Crypter.py')
-rw-r--r--module/plugins/Crypter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/Crypter.py b/module/plugins/Crypter.py
index 7ba739dc4..9c56eb91b 100644
--- a/module/plugins/Crypter.py
+++ b/module/plugins/Crypter.py
@@ -64,8 +64,8 @@ class Crypter(Plugin):
links = [x.decode("utf-8") for x in pack[1]]
- pid = self.core.server_methods.add_package(pack[0], links, self.pyfile.package().queue)
+ pid = self.core.api.addPackage(pack[0], links, self.pyfile.package().queue)
if self.pyfile.package().password:
- self.core.server_methods.set_package_data(pid, {"password": self.pyfile.package().password})
+ self.core.api.setPackageData(pid, {"password": self.pyfile.package().password})