register_module has been renamed to register
This commit is contained in:
parent
0adbc0ad28
commit
400d639e31
@ -44,7 +44,7 @@ mailsettings = {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
mailchecker = mailchecker.MailChecker(mailsettings)
|
mailchecker = mailchecker.MailChecker(mailsettings)
|
||||||
status.register_module(mailchecker)
|
status.register(mailchecker)
|
||||||
|
|
||||||
# the mods.de forum new bookmarks module
|
# the mods.de forum new bookmarks module
|
||||||
mdesettings = {
|
mdesettings = {
|
||||||
@ -52,17 +52,17 @@ mdesettings = {
|
|||||||
"password": "your_password"
|
"password": "your_password"
|
||||||
}
|
}
|
||||||
mde = modsde.ModsDeChecker(mdesettings)
|
mde = modsde.ModsDeChecker(mdesettings)
|
||||||
status.register_module(mde)
|
status.register(mde)
|
||||||
|
|
||||||
# the notmuch mail checker module
|
# the notmuch mail checker module
|
||||||
db_path = "path_to_your_notmuch_database"
|
db_path = "path_to_your_notmuch_database"
|
||||||
nm = notmuch.NotmuchMailChecker(db_path)
|
nm = notmuch.NotmuchMailChecker(db_path)
|
||||||
status.register_module(nm)
|
status.register(nm)
|
||||||
|
|
||||||
|
|
||||||
# the thunderbird dbus new mail checker module
|
# the thunderbird dbus new mail checker module
|
||||||
tb = thunderbirdnewmail.ThunderbirdMailChecker()
|
tb = thunderbirdnewmail.ThunderbirdMailChecker()
|
||||||
status.register_module(tb)
|
status.register(tb)
|
||||||
|
|
||||||
|
|
||||||
# the battery status checker module
|
# the battery status checker module
|
||||||
|
Loading…
Reference in New Issue
Block a user