lightning-hub: remove path hack, use relative imports

This commit is contained in:
Janus 2018-04-16 21:18:25 +02:00 committed by SomberNight
parent 6115c0a15e
commit c1f70dd738
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

@ -4,7 +4,6 @@ import sys
import struct
import traceback
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