diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-02-03 16:42:41 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-02-03 16:42:41 +0100 |
commit | 5cda4b2183e84353f30e43e8a6279382064f0b00 (patch) | |
tree | 0895181cd5f4aa0c5d4ff1891442f160347a7a37 /module/lib | |
parent | added simplejson (diff) | |
download | pyload-5cda4b2183e84353f30e43e8a6279382064f0b00.tar.xz |
SO fix try
Diffstat (limited to 'module/lib')
-rw-r--r-- | module/lib/captchatrader.py | 6 |
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 |