aboutsummaryrefslogtreecommitdiff
path: root/modules/lastfm.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-06-28 23:16:05 +0100
committerGravatar jesopo2019-06-28 23:16:05 +0100
commitae9d099a41b703ce875cf8746a94b6995bbaedfb (patch)
treec389ae3b967c43055a1c671b8cebf04db4e8f8b6 /modules/lastfm.py
parentmessage arg for HTTPWrongContentTypeException/HTTPParsingException (diff)
signature
Refactor set/channelset/serverset/botset in to 'utils.Setting' objects
Diffstat (limited to 'modules/lastfm.py')
-rw-r--r--modules/lastfm.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/lastfm.py b/modules/lastfm.py
index 2e08bdab..8078dc54 100644
--- a/modules/lastfm.py
+++ b/modules/lastfm.py
@@ -7,8 +7,8 @@ from src import ModuleManager, utils
URL_SCROBBLER = "http://ws.audioscrobbler.com/2.0/"
-@utils.export("set", {"setting": "lastfm", "help": "Set last.fm username",
- "example": "jesopo"})
+@utils.export("set", utils.Setting("lastfm", "Set last.fm username",
+ example="jesopo"))
class Module(ModuleManager.BaseModule):
_name = "last.fm"