diff --git a/src/processor/org_mode/org_to_jsonl.py b/src/processor/org_mode/org_to_jsonl.py index f202848f..640915f8 100644 --- a/src/processor/org_mode/org_to_jsonl.py +++ b/src/processor/org_mode/org_to_jsonl.py @@ -120,16 +120,6 @@ def convert_org_entries_to_jsonl(entries, verbose=0): if verbose > 2: print(f"Body: {entry.Body()}") - if entry.Scheduled(): - entry_dict["Scheduled"] = entry.Scheduled().strftime("%Y-%m-%d") - if verbose > 2: - print(f"Scheduled: {entry.Scheduled().strftime('%Y-%m-%d')}") - - if entry.Deadline(): - entry_dict["Deadline"] = entry.Deadline().strftime("%Y-%m-%d") - if verbose > 2: - print(f"Deadline: {entry.Deadline().strftime('%Y-%m-%d')}") - if entry_dict: entry_dict["Raw"] = f'{entry}' diff --git a/src/search_type/asymmetric.py b/src/search_type/asymmetric.py index f234806f..c034762f 100644 --- a/src/search_type/asymmetric.py +++ b/src/search_type/asymmetric.py @@ -60,9 +60,7 @@ def extract_entries(notesfile, verbose=0): if not "Body" in note or note["Body"].strip(empty_escape_sequences) == "": continue - note_string = f'''{note["Title"]}\t{note["Tags"] if "Tags" in note else ""} -{"Scheduled on " + note["Scheduled"] if "Scheduled" in note else ""} -{note["Body"] if "Body" in note else ""}''' + note_string = f'{note["Title"]}\t{note["Tags"] if "Tags" in note else ""}\n{note["Body"] if "Body" in note else ""}' entries.append([note_string, note["Raw"]]) # Close File