add note index in output

This commit is contained in:
quenousimporte 2024-04-11 15:27:04 +02:00
parent d2cd0568f6
commit 20983b322a
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ for i in range(messages, messages-N, -1):
if isinstance(From, bytes): if isinstance(From, bytes):
From = From.decode(encoding) From = From.decode(encoding)
print(subject) print(str(i) + ' - ' + subject)
filepath = subject + '.md' filepath = subject + '.md'
filepath = os.path.join('notes', filepath) filepath = os.path.join('notes', filepath)