Fix path problems

This commit is contained in:
nolash 2021-01-06 17:56:44 +01:00
parent 687b6e062b
commit 70d7428bcd
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746

View File

@ -30,7 +30,7 @@ class AccountRegistry:
@staticmethod @staticmethod
def abi(): def abi():
if AccountRegistry.__abi == None: if AccountRegistry.__abi == None:
f = open(os.path.join(datadir, 'AccountsIndex.abi.json'), 'r') f = open(os.path.join(datadir, 'AccountsIndex.json'), 'r')
AccountRegistry.__abi = json.load(f) AccountRegistry.__abi = json.load(f)
f.close() f.close()
return AccountRegistry.__abi return AccountRegistry.__abi