Make idle and cleanup functions fields of the module object

This commit is contained in:
moneromooo 2015-01-22 19:29:31 +00:00
parent 9ab5db39e4
commit 1a6476d2f0
2 changed files with 14 additions and 25 deletions

View file

@ -114,6 +114,7 @@ def Help(link):
RegisterModule({
'name': __name__,
'help': Help,
'idle': UpdateCoin
})
RegisterCommand({
'module': __name__,
@ -121,5 +122,4 @@ RegisterCommand({
'function': Deposit,
'help': "Show instructions about depositing %s" % coinspecs.name
})
RegisterIdleFunction(__name__,UpdateCoin)