options.json: move to cache

This commit is contained in:
Artemis Tosini 2024-01-20 06:47:46 +00:00
parent 1168f39aee
commit 38511ffccc
Signed by: artemist
GPG key ID: EE5227935FE3FF18
8 changed files with 8 additions and 8 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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={

View file

@ -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() {

View file

@ -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