Merge pull request #22 from p1otr/master

use stdlib's json module if simplejson is missing
This commit is contained in:
Nick Daly committed 2013-09-15 16:09:58 -07:00
commit 04a266729e
9 files changed
+36 -9

No files matched your search

+4 -1
View File
@@ -1,5 +1,8 @@
import os
import simplejson as json
try:
import simplejson as json
except ImportError:
import json
import cherrypy
import cfg
from model import User
+4 -1
View File
@@ -7,7 +7,10 @@ haven't figured that one all the way through yet.
import os, sys
import cherrypy
import simplejson as json
try:
import simplejson as json
except ImportError:
import json
from gettext import gettext as _
from plugin_mount import PagePlugin
from modules.auth import require
+4 -1
View File
@@ -1,7 +1,10 @@
import os, subprocess
from socket import gethostname
import cherrypy
import simplejson as json
try:
import simplejson as json
except ImportError:
import json
from gettext import gettext as _
from filedict import FileDict
from modules.auth import require
+4 -1
View File
@@ -1,6 +1,9 @@
import os
import cherrypy
import simplejson as json
try:
import simplejson as json
except ImportError:
import json
from gettext import gettext as _
from filedict import FileDict
from modules.auth import require
+4 -1
View File
@@ -1,6 +1,9 @@
import os
import cherrypy
import simplejson as json
try:
import simplejson as json
except ImportError:
import json
from gettext import gettext as _
from filedict import FileDict
from auth import require
+4 -1
View File
@@ -1,6 +1,9 @@
import os
import cherrypy
import simplejson as json
try:
import simplejson as json
except ImportError:
import json
from gettext import gettext as _
from filedict import FileDict
from modules.auth import require