Don't restart on config changes.
This commit is contained in:
parent
888bc97264
commit
37e06dd412
|
@ -5,6 +5,7 @@ import msgspec
|
|||
|
||||
def readconf() -> dict:
|
||||
p = Path.home() / ".droppy/config" # Hardcoded in Droppy
|
||||
print("Reading Droppy config", p)
|
||||
cf = msgspec.json.decode((p / "config.json").read_bytes())
|
||||
db = msgspec.json.decode((p / "db.json").read_bytes())
|
||||
cf["path"] = p.parent / "files"
|
||||
|
|
Loading…
Reference in New Issue
Block a user