Skip to content

Commit 26c876a

Browse files
committed
update
1 parent 5fb255d commit 26c876a

5 files changed

Lines changed: 4 additions & 5 deletions

File tree

scripts/export/dps_anki_updater.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,6 @@ def update_note_values(note, i):
289289
if i.sbs:
290290
note["sbs_meaning"] = str(i.sbs.sbs_meaning)
291291
note["class_anki"] = str(i.sbs.class_anki)
292-
note["sbs_class"] = str(i.sbs.sbs_class)
293292
note["sbs_source_1"] = str(i.sbs.sbs_source_1)
294293
note["sbs_sutta_1"] = str(i.sbs.sbs_sutta_1).replace("\n", "<br>")
295294
note["sbs_example_1"] = str(i.sbs.sbs_example_1).replace("\n", "<br>")

scripts/moving/move_mdict.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
script_dir = os.path.dirname(os.path.realpath(__file__))
2121
deva_dir = os.path.abspath(os.path.join(script_dir, '..', '..', '..', '..'))
2222

23-
sync_mdict_dir = os.path.join(deva_dir, 'Library', 'Mobile Documents', 'com~apple~CloudDocs', 'MDict ')
23+
sync_mdict_dir = os.path.join(deva_dir, 'Library', 'Mobile Documents', 'com~apple~CloudDocs', 'Documents', 'MDict')
2424

2525
share_dir = os.path.join(
2626
deva_dir,

scripts/moving/move_mdict_ru.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818

1919
# Assuming the script is in the 'Documents/dpd-db/scripts/moving' directory
2020
script_dir = os.path.dirname(os.path.realpath(__file__))
21-
deva_dir = os.path.abspath(os.path.join(script_dir, '..', '..', '..', '..', '..'))
21+
deva_dir = os.path.abspath(os.path.join(script_dir, '..', '..', '..', '..'))
2222

23-
sync_mdict_dir = os.path.join(deva_dir, 'Mdict')
23+
sync_mdict_dir = os.path.join(deva_dir, 'Library', 'Mobile Documents', 'com~apple~CloudDocs', 'Documents', 'MDict')
2424

2525
share_dir = os.path.join(
2626
deva_dir,

scripts/other/add_combined_view.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ def main():
3131
SELECT
3232
COALESCE(dpd_headwords.id, '') AS id,
3333
COALESCE(dpd_headwords.ebt_count, '') AS count,
34-
COALESCE(sbs.sbs_class, '') AS class,
3534
COALESCE(sbs.class_anki, '') AS anki,
3635
COALESCE(sbs.sbs_index, '') AS PER,
3736
COALESCE(dpd_headwords.lemma_1, '') AS lemma_1,

shared_data/deconstructor/checked.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20177,3 +20177,4 @@ tenassāyaṃ
2017720177
hevanti
2017820178
cūbhayanti
2017920179
viyassa
20180+
vasimhi

0 commit comments

Comments
 (0)