On Tue, Jun 09, 2009 at 11:28:09AM -0700, bkh wrote:
> [I]f I give [a new card] a 2,3,4, or 5, it is not considered "Not
> Memorized", but yet I think it is considered "unseen". 

Good catch.  I never enter new cards as anything other than a zero, so I
didn't notice when I wrote the plugin.  

Here's the code that calculates the number of unseen cards:

    unseen = [i for i in items if i.unseen == True and 
i.is_in_active_category() ]

I think it should be easy to add extra conditionals that ignore unseen
cards with grades two, three, four, or five. I think I saw Peter doing
just that in the core code, so I'll be able to steal his code. :)

I can't work on it right now, but I'll probably have an update for you
by this time tomorrow.

Thanks!,

-Dave
-- 
David A. Harding            Website:  http://dtrt.org/
1 (609) 997-0765              Email:  [email protected]
                        Jabber/XMPP:  [email protected]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"mnemosyne-proj-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/mnemosyne-proj-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to