Closed distbit0 closed 8 months ago
Ah I figured out the issue. I thought gnotes was a list but it is a generator and hence is empty when I iterate through it a second time to archive the returned notes. the solution was to first convert it to a list.
Please make sure you've done the following before submitting your issue:
I am running the following code:
Additionally, please provide the following information:
OS: Fedora 39 Python version 3.12.1 64bit
When I run this, it prints out the text of currently un-archived tasks, however does not archive them, as evidenced by the fact that it continues to print the same text every time it is run despite the fact that it requests only un-archived tasks.
How can I modify it so that it successfully archives tasks? many thx