changed notes process to have separate files per note
This commit is contained in:
parent
8762d8b465
commit
541635392d
1 changed files with 0 additions and 2 deletions
|
@ -22,8 +22,6 @@ proc readNotes(): seq[Note] =
|
||||||
for note_file in walkDir(note_dir):
|
for note_file in walkDir(note_dir):
|
||||||
try:
|
try:
|
||||||
var note = Note()
|
var note = Note()
|
||||||
echo note_file[0]
|
|
||||||
echo note_file[1]
|
|
||||||
note.id = note_file[1]
|
note.id = note_file[1]
|
||||||
note.text = readFile(note_file[1])
|
note.text = readFile(note_file[1])
|
||||||
notes.add(note)
|
notes.add(note)
|
||||||
|
|
Loading…
Reference in a new issue