lightning-hub: include ln relative to current directory
This commit is contained in:
parent
f7742dbf3c
commit
ff4b9be3af
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user