Move API code to api.py #609
|
@ -2,7 +2,8 @@
|
||||||
# Copyright (c) 2012-2014 The Bitmessage developers
|
# Copyright (c) 2012-2014 The Bitmessage developers
|
||||||
|
|
||||||
comment= """
|
comment= """
|
||||||
This is not what you run to run the Bitmessage API. Instead, enable daemon mode
|
This is not what you run to run the Bitmessage API. Instead, enable the API
|
||||||
|
( https://bitmessage.org/wiki/API ) and optionally enable daemon mode
|
||||||
( https://bitmessage.org/wiki/Daemon ) then run bitmessagemain.py.
|
( https://bitmessage.org/wiki/Daemon ) then run bitmessagemain.py.
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -15,7 +15,7 @@ import singleton
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from SimpleXMLRPCServer import SimpleXMLRPCServer
|
from SimpleXMLRPCServer import SimpleXMLRPCServer
|
||||||
from bitmessageapi import MySimpleXMLRPCRequestHandler
|
from api import MySimpleXMLRPCRequestHandler
|
||||||
|
|
||||||
import shared
|
import shared
|
||||||
from helper_sql import sqlQuery
|
from helper_sql import sqlQuery
|
||||||
|
|
Reference in New Issue
Block a user