Move the remaining hardcoded constants into the configuration file.

This commit is contained in:
yrriban 2025-07-03 18:04:19 -04:00
parent 4bbf57036d
commit d778e281ba
4 changed files with 25 additions and 30 deletions

View file

@ -23,7 +23,7 @@ class Fetch(dcc.config.Base):
) as response:
reply = json.loads(response.read())
rpath = "/".join([
dcc.config.MIRROR,
self.fetch_mirror,
reply["content"]["dir"],
reply["content"]["filename"]
])