From dd0d85b4f29792f9d6a0c3c4c839253055ecd331 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Thu, 20 Jul 2017 21:28:27 +0200 Subject: [PATCH] fix headers path for android --- lib/blockchain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/blockchain.py b/lib/blockchain.py index 757276c68..ccdd2d8a4 100644 --- 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))