James Bunton wrote:
>
> The spool files aren't meant to be in the root of the spool directory anymore.
> Do you mean that it doesn't get moved into a subdirectory when PyMSNt performs
> the migration?
I think I've found the culprit. In housekeeping.py:
for note in noteList:
if notes.check(note):
noteListF[noteList.index(note)]()
notes.append(note)
Should be:
for note in noteList:
if not notes.check(note):
noteListF[noteList.index(note)]()
notes.append(note)
with this change, my spool files were taken from the root of the spool
directory into their respective sub folders on startup.
I'm attaching the diff file for the change.
--
Jamin W. Collins
diff -Naur pymsnt-0.11.2/src/housekeep.py pymsnt-0.11.2.mod/src/housekeep.py
--- pymsnt-0.11.2/src/housekeep.py 2006-10-18 00:40:55.000000000 -0400
+++ pymsnt-0.11.2.mod/src/housekeep.py 2007-11-01 09:05:04.000000000 -0400
@@ -22,7 +22,7 @@
try:
notes = NotesToMyself()
for note in noteList:
- if notes.check(note):
+ if not notes.check(note):
noteListF[noteList.index(note)]()
notes.append(note)
notes.save()
_______________________________________________
py-transports mailing list
[email protected]
http://lists.modevia.com/cgi-bin/mailman/listinfo/py-transports