mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Documentation change.
This commit is contained in:
parent
8a47be6767
commit
9c17ec5c68
@ -30,7 +30,7 @@
|
|||||||
###
|
###
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Add the module docstring here. This will be used by the setup.py script.
|
Amazon module, to use Amazon's Web Services. Currently only does ISBN lookups.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from baseplugin import *
|
from baseplugin import *
|
||||||
@ -42,7 +42,6 @@ import privmsgs
|
|||||||
import callbacks
|
import callbacks
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def configure(onStart, afterConnect, advanced):
|
def configure(onStart, afterConnect, advanced):
|
||||||
# This will be called by setup.py to configure this module. onStart and
|
# This will be called by setup.py to configure this module. onStart and
|
||||||
# afterConnect are both lists. Append to onStart the commands you would
|
# afterConnect are both lists. Append to onStart the commands you would
|
||||||
@ -52,7 +51,7 @@ def configure(onStart, afterConnect, advanced):
|
|||||||
print 'To use Amazon\'s Web Services, you must have a license key.'
|
print 'To use Amazon\'s Web Services, you must have a license key.'
|
||||||
if yn('Do you have a license key?') == 'y':
|
if yn('Do you have a license key?') == 'y':
|
||||||
key = anything('What is it?')
|
key = anything('What is it?')
|
||||||
onStart.append('load Amazon')
|
|
||||||
onStart.append('amazonlicensekey %s' % key)
|
onStart.append('amazonlicensekey %s' % key)
|
||||||
else:
|
else:
|
||||||
print 'You\'ll need to get a key before you can use this plugin.'
|
print 'You\'ll need to get a key before you can use this plugin.'
|
||||||
|
Loading…
Reference in New Issue
Block a user