Skip to content

Commit

Permalink
Remove print statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Reillyhewitson committed Nov 14, 2022
1 parent c18b669 commit a24d429
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions datagateway_api/src/common/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,7 @@ def load(cls, path=Path(__file__).parent.parent.parent / "config.yaml"):
try:
with open(path, encoding="utf-8") as target:
data = yaml.safe_load(target)
print(target.read())
return cls(**data)
return cls(**data)
except (IOError, ValidationError) as error:
sys.exit(f"An error occurred while trying to load the config data: {error}")

Expand Down

0 comments on commit a24d429

Please sign in to comment.