lightning-hub: remove path hack, use relative imports

This commit is contained in:
Janus 2018-04-16 21:18:25 +02:00
parent 9796ef264e
commit d6145d0685

View File

@ -4,7 +4,6 @@ import sys
import struct
import traceback
import os.path
sys.path.insert(0, os.path.join(os.path.dirname(os.path.realpath(__file__)), "ln"))
from .ln import rpc_pb2
from jsonrpclib import Server