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

Function mal_authenticate

PlexMALSync.py:52–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50
51
52def mal_authenticate():
53 user = mal_settings['username']
54 password = mal_settings['password']
55 mal = spice.init_auth(user, password)
56 # Failed
57 if not mal:
58 logger.critical('[MAL] Failed to authenticate, exiting...')
59 sys.exit()
60 return mal
61
62
63settings_file = 'settings.ini'

Callers 1

PlexMALSync.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected