Beispiel #1
0
 def get(self):
     # Get contents of configuration file
     if not os.path.isfile('configuration.json'):
         self.create()
     with open('configuration.json') as json_data:
         configuration = s.fromJson(json_data.read())
     return configuration