Fixed issue #9

Notmuch checker does not work in this state
NotmuchMailChecker does not work because of a conflict between the notmuch Python API and the file for NotmuchMailChecker which is also named notmuch.

I suggest to rename i3pystatus/notmuch.py to i3pystatus/notmuchchecker.py and modify main.py.dist appropriately.

Reported by mjepronk

Also removed some superfluous whitespace
This commit is contained in:
enkore 2013-02-22 18:16:39 +01:00
parent 8a1041ac0e
commit 62b59db8d6
2 changed files with 5 additions and 5 deletions

View File

@ -5,7 +5,7 @@ from i3pystatus import (
I3statusHandler, I3statusHandler,
mailchecker, mailchecker,
modsde, modsde,
notmuch, notmuchmail,
thunderbird, thunderbird,
regex, regex,
) )
@ -62,7 +62,7 @@ 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 = notmuchmail.NotmuchMailChecker(db_path)
status.register(nm) status.register(nm)