Various build fixes, cleanup and details #6
|
@ -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