lightning-hub: include ln relative to current directory

This commit is contained in:
Janus 2018-04-13 17:36:53 +02:00
parent f7742dbf3c
commit ff4b9be3af

View File

@ -3,7 +3,8 @@ import datetime
import sys
import struct
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 jsonrpclib import Server