Skip to content

Commit 3d24207

Browse files
committed
Fix bug: incorrect reading of configuration file
1 parent 823f962 commit 3d24207

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pushover.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def _get_config(profile='Default', config_path='~/.pushoverrc',
232232
config.read(config_path)
233233
params = {"user_key": None, "api_token": None, "device": None}
234234
try:
235-
params.update(dict(config.get(profile)))
235+
params.update(dict(config.items(profile)))
236236
except NoSectionError:
237237
pass
238238
if user_key:

0 commit comments

Comments
 (0)