MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / read_properties_file

Function read_properties_file

device.py:44–49  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

42 return result
43
44def read_properties_file(path):
45 config = configparser.RawConfigParser()
46 # Don't convert keys to lowercase
47 config.optionxform = str
48 config.read(path)
49 return config
50
51def read_device_properties(device_id):
52 device_file_path = get_properties_file_path(device_id)

Callers 1

read_device_propertiesFunction · 0.70

Calls 1

readMethod · 0.45

Tested by

no test coverage detected