on? (OK)
                  
                  
                  OS = platform.system()
                  
                  
                  
                  
                  
                  # Read properties.json (OK) and parse it (ERROR)
                  
                  
                  PROP_FILE_LOCATION = os.getcwd() + '/properties.json'
                  
                  
                  
                  
                  
                  decodedProp = ''
                  
                  
                  
                  
                  
                  with open(PROP_FILE_LOCATION) as PROP_JSON:
                  
                  
                      decodedProp = json.loads(PROP_JSON.read())
                  
                  
                  
                  
                  
                  
                  
                  
                  print("Current platform: " + OS)
                  
                  
                  print("JSON: " + PROP_JSON.read())
                  
                  
                  print("decodedProp: " + decodedProp)
                  
                  
                
Why don't you use json.load instead of loads?
Обсуждают сегодня