Skip to content

Commit 249c0f1

Browse files
update scripts for the env variable handling
Signed-off-by: thiswillbeyourgithub <[email protected]>
1 parent 778677d commit 249c0f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/AnkiFiltered/AnkiFilteredDeckCreator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from py_ankiconnect import PyAnkiconnect
1212

1313
from wdoc import wdoc
14-
from wdoc.utils.env import WDOC_DEFAULT_MODEL
14+
from wdoc.utils.env import env
1515
from wdoc.utils.typechecker import optional_typecheck
1616

1717
VERSION = "1.1"
@@ -62,7 +62,7 @@ def __init__(
6262
reschedule: bool = False,
6363
sort_order: int = 8,
6464
create_empty: bool = False,
65-
query_eval_modelname: str = WDOC_DEFAULT_MODEL, # by default, use the same model as we use normally for querying
65+
query_eval_modelname: str = env.WDOC_DEFAULT_MODEL, # by default, use the same model as we use normally for querying
6666
**kwargs,
6767
) -> None:
6868
akc("sync")

0 commit comments

Comments
 (0)