summaryrefslogtreecommitdiffstats
path: root/module/lib
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-03 16:42:41 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-03 16:42:41 +0100
commit5cda4b2183e84353f30e43e8a6279382064f0b00 (patch)
tree0895181cd5f4aa0c5d4ff1891442f160347a7a37 /module/lib
parentadded simplejson (diff)
downloadpyload-5cda4b2183e84353f30e43e8a6279382064f0b00.tar.xz
SO fix try
Diffstat (limited to 'module/lib')
-rw-r--r--module/lib/captchatrader.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/module/lib/captchatrader.py b/module/lib/captchatrader.py
index 179612faa..50a2acbea 100644
--- a/module/lib/captchatrader.py
+++ b/module/lib/captchatrader.py
@@ -17,7 +17,11 @@
@author: mkaay
"""
-from simplejson import loads
+try:
+ from json import loads
+except ImportError:
+ from simplejson import loads
+
from urllib2 import build_opener
from MultipartPostHandler import MultipartPostHandler