lightning-hub: include ln relative to current directory

This commit is contained in:
Janus 2018-04-13 17:36:53 +02:00 committed by SomberNight
parent 3d5fa38798
commit 3b0e72038c
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

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