Use __name__ as module name

This commit is contained in:
moneromooo 2015-01-01 10:12:03 +00:00
parent a59e883626
commit e4b403cc31
3 changed files with 7 additions and 7 deletions

View file

@ -89,5 +89,5 @@ def UpdateCoin(param):
log_error('UpdateCoin: Failed to get bulk payments: %s' % str(e))
last_wallet_update_time = time.time()
RegisterIdleFunction("payment",UpdateCoin)
RegisterIdleFunction(__name__,UpdateCoin)