tools: fix usage of aliases.json

Load aliases.json from mbed-os rather than from a temporary
directory.
pull/3931/head
Russ Butler 2017-03-13 18:05:28 -05:00
parent 47ee9677e5
commit cefdce2a37
1 changed files with 1 additions and 1 deletions

View File

@ -357,7 +357,7 @@ class Cache () :
"""
if not self._aliases :
with open(join(self.data_path, "aliases.json")) as i :
with open(LocalPackAliases) as i :
self._aliases = load(i)
return self._aliases