Move the remaining hardcoded constants into the configuration file.
This commit is contained in:
parent
4bbf57036d
commit
d778e281ba
4 changed files with 25 additions and 30 deletions
|
@ -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"]
|
||||
])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue