add note index in output
This commit is contained in:
parent
d2cd0568f6
commit
20983b322a
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue