lightning-hub: remove path hack, use relative imports
This commit is contained in:
parent
620e8d60aa
commit
baacbe456a
@ -4,7 +4,6 @@ import sys
|
|||||||
import struct
|
import struct
|
||||||
import traceback
|
import traceback
|
||||||
import os.path
|
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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user