summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar GamaC0de <nitzo2001@yahoo.com> 2016-05-09 12:15:37 +0200
committerGravatar GamaC0de <nitzo2001@yahoo.com> 2016-05-09 12:15:37 +0200
commiteaec7b507a800827ea12b49128abe39b631d743b (patch)
tree2cf70ab84482b8b63dacee2c7dfe8e967a72f60b
parent[ImgurCom] Fix compatibility with python 2.5 (diff)
downloadpyload-eaec7b507a800827ea12b49128abe39b631d743b.tar.xz
[ImgurCom] Fix import error
-rw-r--r--module/plugins/crypter/ImgurCom.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/module/plugins/crypter/ImgurCom.py b/module/plugins/crypter/ImgurCom.py
index c34c813df..b8e675e69 100644
--- a/module/plugins/crypter/ImgurCom.py
+++ b/module/plugins/crypter/ImgurCom.py
@@ -1,14 +1,15 @@
+# -*- coding: utf-8 -*-
+
import re
-import json
from module.plugins.internal.SimpleCrypter import SimpleCrypter
-from module.plugins.internal.misc import uniqify
+from module.plugins.internal.misc import json, uniqify
class ImgurCom(SimpleCrypter):
__name__ = "ImgurCom"
__type__ = "crypter"
- __version__ = "0.58"
+ __version__ = "0.59"
__status__ = "testing"
__pattern__ = r'https?://(?:www\.|m\.)?imgur\.com/(a|gallery|)/?\w{5,7}'