From 54025794ebf707ba0c0f2840d5364b0b380d17a9 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sun, 18 Oct 2015 18:55:20 +0200 Subject: Update crypters --- module/plugins/crypter/GooGl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/crypter/GooGl.py') diff --git a/module/plugins/crypter/GooGl.py b/module/plugins/crypter/GooGl.py index cbe44a5b3..b52055e07 100644 --- a/module/plugins/crypter/GooGl.py +++ b/module/plugins/crypter/GooGl.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- from module.plugins.internal.SimpleCrypter import SimpleCrypter, create_getInfo -from module.common.json_layer import json_loads +from module.plugins.internal.utils import json class GooGl(SimpleCrypter): @@ -27,7 +27,7 @@ class GooGl(SimpleCrypter): def get_links(self): rep = self.load(self.API_URL, get={'shortUrl': self.pyfile.url}) self.log_debug("JSON data: " + rep) - rep = json_loads(rep) + rep = json.loads(rep) return [rep['longUrl']] if "longUrl" in rep else None -- cgit v1.2.3