summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py
index 394dfcf32..259f8fbe0 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -760,6 +760,13 @@ class ServerMethods():
data.append(p)
return data
+ def get_premium_accounts(self):
+ plugins = self.core.pluginManager.getAccountPlugins()
+ data = []
+ for p in plugins:
+ data.extend(p.getAllAccounts())
+ return data
+
#def move_urls_up(self, ids):
# for id in ids:
# self.core.file_list.move(id)