Skip to content

Commit

Permalink
Merge pull request #1805 from sg-/move-target-json
Browse files Browse the repository at this point in the history
move target description from tools into hal where the target code lives
  • Loading branch information
c1728p9 committed May 28, 2016
2 parents a7ff058 + d94627e commit 3055b28
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion workspace_tools/targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def to_ascii(input):
@staticmethod
@cached
def get_json_target_data():
with open(os.path.join(os.path.dirname(os.path.abspath(__file__)), "targets.json"), "rt") as f:
with open(os.path.join(os.path.dirname(os.path.abspath(__file__)), "../hal/targets.json"), "rt") as f:
return Target.to_ascii(json.load(f))

# Get the members of this module using Python's "inspect" module
Expand Down

0 comments on commit 3055b28

Please sign in to comment.