summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/FreeWayMe.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-18 17:12:53 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-18 17:12:53 +0200
commit6891502d1eb47f3db824ee25a8d978284f3e75e7 (patch)
treee6f530c6a3dab287ef9144bdeee527d50a84c2dd /module/plugins/accounts/FreeWayMe.py
parentNew plugin: Http (diff)
downloadpyload-6891502d1eb47f3db824ee25a8d978284f3e75e7.tar.xz
Multi-hoster accounts now extend MultiAccount class
Diffstat (limited to 'module/plugins/accounts/FreeWayMe.py')
-rw-r--r--module/plugins/accounts/FreeWayMe.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/accounts/FreeWayMe.py b/module/plugins/accounts/FreeWayMe.py
index 5e214db35..2bf6b4437 100644
--- a/module/plugins/accounts/FreeWayMe.py
+++ b/module/plugins/accounts/FreeWayMe.py
@@ -1,10 +1,10 @@
# -*- coding: utf-8 -*-
-from module.plugins.internal.Account import Account
-from module.common.json_layer import json_loads
+from module.plugins.internal.MultiAccount import MultiAccount
+from module.plugins.internal.utils import json
-class FreeWayMe(Account):
+class FreeWayMe(MultiAccount):
__name__ = "FreeWayMe"
__type__ = "account"
__version__ = "0.19"
@@ -60,4 +60,4 @@ class FreeWayMe(Account):
if answer == "Invalid login":
self.fail_login()
- return json_loads(answer)
+ return json.loads(answer)