We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfba6c6 commit ae6b7bfCopy full SHA for ae6b7bf
trakt_scrobbler/player_monitors/monitor.py
@@ -134,10 +134,12 @@ def autoload_cfg(cls):
134
if not auto_keys:
135
return monitor_cfg
136
try:
137
- loaders = getattr(cls, "read_player_cfg")(auto_keys)
+ read_cfg = getattr(cls, "read_player_cfg")
138
except AttributeError:
139
raise AutoloadError(param=auto_keys,
140
extra_msg=f"Autoload not supported for {cls.name}.")
141
+ try:
142
+ loaders = read_cfg(auto_keys)
143
except FileNotFoundError as e:
144
raise AutoloadError(src=e.filename, extra_msg="File not found")
145
0 commit comments