diff --git a/cards_4x6.typ b/cards_4x6.typ index d26556a..1447b0e 100644 --- a/cards_4x6.typ +++ b/cards_4x6.typ @@ -3,7 +3,7 @@ import "common.typ" - let options = json("options.json") + let options = json("cache/options.json") let cards = options.cards let args = options.args diff --git a/cards_a6_lettersheet.typ b/cards_a6_lettersheet.typ index e20d826..0a4608c 100644 --- a/cards_a6_lettersheet.typ +++ b/cards_a6_lettersheet.typ @@ -3,7 +3,7 @@ import "common.typ" - let options = json("options.json") + let options = json("cache/options.json") let cards = options.cards let args = options.args diff --git a/cards_lettersheet.typ b/cards_lettersheet.typ index 3010280..da0e78f 100644 --- a/cards_lettersheet.typ +++ b/cards_lettersheet.typ @@ -3,7 +3,7 @@ import "common.typ" - let options = json("options.json") + let options = json("cache/options.json") let cards = options.cards let args = options.args diff --git a/cards_small_lettersheet.typ b/cards_small_lettersheet.typ index 8ff3e18..4586356 100644 --- a/cards_small_lettersheet.typ +++ b/cards_small_lettersheet.typ @@ -3,7 +3,7 @@ import "common.typ" - let options = json("options.json") + let options = json("cache/options.json") let cards = options.cards let args = options.args diff --git a/cards_stamped_card.typ b/cards_stamped_card.typ index 1cbe5df..e5c148c 100644 --- a/cards_stamped_card.typ +++ b/cards_stamped_card.typ @@ -3,7 +3,7 @@ import "common.typ" - let options = json("options.json") + let options = json("cache/options.json") let cards = options.cards let args = options.args diff --git a/format.py b/format.py index 9316b32..59fb8f7 100755 --- a/format.py +++ b/format.py @@ -359,7 +359,7 @@ def serialize_paths(obj: object): raise TypeError("Type not Serializable") -with (root_dir() / "options.json").open("w") as options: +with (cache_dir() / "options.json").open("w") as options: json.dump( fp=options, obj={ diff --git a/labels_dymo.typ b/labels_dymo.typ index 0518c91..48c9615 100644 --- a/labels_dymo.typ +++ b/labels_dymo.typ @@ -3,7 +3,7 @@ import "common.typ" - let options = json("options.json") + let options = json("cache/options.json") let cards = options.cards for (idx, card) in cards.enumerate() { diff --git a/labels_lettersheet.typ b/labels_lettersheet.typ index 92168bf..1706b7f 100644 --- a/labels_lettersheet.typ +++ b/labels_lettersheet.typ @@ -3,7 +3,7 @@ import "common.typ" - let options = json("options.json") + let options = json("cache/options.json") let cards = options.cards let args = options.args