aboutsummaryrefslogtreecommitdiff
path: root/modules/lastfm.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-08-15 10:34:58 +0100
committerGravatar jesopo2018-08-15 10:34:58 +0100
commitbc6278f9df25c07ca16b7174860bc5c929ed48f1 (patch)
treee66aec5dc116adef64a648c1e7cb227f69c18861 /modules/lastfm.py
parentsave !to commands for the target user, not the user sending the command! (diff)
signature
username -> lastfm_username
Diffstat (limited to 'modules/lastfm.py')
-rw-r--r--modules/lastfm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/lastfm.py b/modules/lastfm.py
index 7a42031f..56da9b29 100644
--- a/modules/lastfm.py
+++ b/modules/lastfm.py
@@ -22,7 +22,7 @@ class Module(object):
lastfm_username = event["args_split"][0]
shown_username = lastfm_username
else:
- username = event["user"].get_setting("lastfm",
+ lastfm_username = event["user"].get_setting("lastfm",
event["user"].nickname)
shown_username = event["user"].nickname
page = Utils.get_url(URL_SCROBBLER, get_params={