commit dd0d85b4f29792f9d6a0c3c4c839253055ecd331
parent ca33ffaf77032652086f4af0461be377d414ea08
Author: ThomasV <thomasv@electrum.org>
Date: Thu, 20 Jul 2017 21:28:27 +0200
fix headers path for android
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/blockchain.py b/lib/blockchain.py
@@ -65,7 +65,7 @@ blockchains = {}
def read_blockchains(config):
blockchains[0] = Blockchain(config, 0, None)
- fdir = os.path.join(config.path, 'forks')
+ fdir = os.path.join(util.get_headers_dir(config), 'forks')
if not os.path.exists(fdir):
os.mkdir(fdir)
l = filter(lambda x: x.startswith('fork_'), os.listdir(fdir))