Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
madhavkhoslaa committed Jul 15, 2019
1 parent d0784f2 commit 748d14f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/config.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import json

class Config():
"""Creates an object which takes a json file and returns a
dictionary when load_conf is called on the object"""
def __init__(self, config_file):
with open(config_file) as conf_file:
self.conf= json.load(conf_file)
Expand Down

0 comments on commit 748d14f

Please sign in to comment.