mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Merge pull request #22 from p1otr/master
use stdlib's json module if simplejson is missing
This commit is contained in:
commit
04a266729e
9 files changed
+36
-9
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user