Example #1
0
class DataReader:

	challenges = []
	users = []
	json = None

	def __init__(self):
		self.json = JsonHandler()
		self.challenges = self.json.decode_file('challenges.json')
		self.users = self.json.decode_file('users.json')
Example #2
0
	def __init__(self):
		self.json = JsonHandler()
		self.challenges = self.json.decode_file('challenges.json')
		self.users = self.json.decode_file('users.json')