Skip to content

Commit

Permalink
JSON renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Mar 21, 2020
1 parent 1708e34 commit 5e124a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/colony_adm.py
Expand Up @@ -603,12 +603,12 @@ def _generate_config(path):
return descriptor_path

def _build(path, short_name = True):
# imports the json module so that it's possible
# imports the JSON module so that it's possible
# to parse the colony descriptor file
import json

# opens the descriptor file to be read in the binary
# format and loads its json contents to be used
# format and loads its JSON contents to be used
file = open(path, "rb")
try: data = file.read()
finally: file.close()
Expand Down

0 comments on commit 5e124a8

Please sign in to comment.