From e106c78e77fab938983420eb680602b5455b7af5 Mon Sep 17 00:00:00 2001 From: Janus Date: Mon, 16 Apr 2018 21:18:25 +0200 Subject: [PATCH] lightning-hub: remove path hack, use relative imports --- lib/lightning.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/lightning.py b/lib/lightning.py index 78a860c6a..c407aa364 100644 --- a/lib/lightning.py +++ b/lib/lightning.py @@ -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