lightning-hub: include ln relative to current directory

This commit is contained in:
Janus 2018-04-13 17:36:53 +02:00 committed by ThomasV
parent 3fb6951d10
commit a9edd170c7

View file

@ -3,7 +3,8 @@ import datetime
import sys import sys
import struct import struct
import traceback import traceback
sys.path.insert(0, "lib/ln") import os.path
sys.path.insert(0, os.path.join(os.path.dirname(os.path.realpath(__file__)), "ln"))
from .ln import rpc_pb2 from .ln import rpc_pb2
from jsonrpclib import Server from jsonrpclib import Server