summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/GooGl.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/crypter/GooGl.py')
-rw-r--r--module/plugins/crypter/GooGl.py4
1 files changed, 2 insertions, 2 deletions
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