MCPcopy Create free account
hub / github.com/RickDB/PlexMALSync / read_settings

Function read_settings

PlexMALSync.py:20–28  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

18
19
20def read_settings(file):
21 # File exists
22 if not os.path.isfile(file):
23 logger.critical(
24 '[CONFIG] Settings file file not found: {}'.format(file))
25 sys.exit()
26 settings = configparser.ConfigParser()
27 settings.read(file)
28 return settings
29
30
31def plex_authenticate():

Callers 1

PlexMALSync.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected