diff options
| author | 2019-06-28 23:16:05 +0100 | |
|---|---|---|
| committer | 2019-06-28 23:16:05 +0100 | |
| commit | ae9d099a41b703ce875cf8746a94b6995bbaedfb (patch) | |
| tree | c389ae3b967c43055a1c671b8cebf04db4e8f8b6 /modules/lastfm.py | |
| parent | message 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.py | 4 |
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" |
