fix headers path for android

This commit is contained in:
ThomasV 2017-07-20 21:28:27 +02:00
parent ca33ffaf77
commit dd0d85b4f2
1 changed files with 1 additions and 1 deletions

View File

@ -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))