plugins now use ujson
This commit is contained in:
parent
a8ab5d20f1
commit
919ab12b76
7 changed files with 54 additions and 41 deletions
|
@ -1,9 +1,18 @@
|
|||
'''
|
||||
Onionr - Private P2P Communication
|
||||
"""Onionr - Private P2P Communication.
|
||||
|
||||
HTTP endpoints for communicating with peers
|
||||
'''
|
||||
'''
|
||||
HTTP endpoints for communicating with peers
|
||||
"""
|
||||
import sys
|
||||
import os
|
||||
|
||||
import deadsimplekv as simplekv
|
||||
import ujson as json
|
||||
from flask import Response, request, redirect, Blueprint, abort, g
|
||||
|
||||
from utils import identifyhome
|
||||
from onionrutils import localcommand
|
||||
import filepaths
|
||||
"""
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
|
@ -16,12 +25,7 @@
|
|||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
'''
|
||||
import sys, os, json
|
||||
from utils import identifyhome
|
||||
from onionrutils import localcommand
|
||||
import deadsimplekv as simplekv, filepaths
|
||||
from flask import Response, request, redirect, Blueprint, abort, g
|
||||
"""
|
||||
sys.path.insert(0, os.path.dirname(os.path.realpath(__file__)))
|
||||
direct_blueprint = Blueprint('chat', __name__)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue