! refactor var. name in deploy()
This commit is contained in:
parent
72ee899ba2
commit
78dd963035
@ -202,10 +202,10 @@ def deploy():
|
|||||||
r.removesuffix("/")[:r.removesuffix("/").rindex("/")]
|
r.removesuffix("/")[:r.removesuffix("/").rindex("/")]
|
||||||
run(shlex.split(f"/usr/bin/git clone {SETTINGS[URL_REPO]}"), text=True, cwd=r)
|
run(shlex.split(f"/usr/bin/git clone {SETTINGS[URL_REPO]}"), text=True, cwd=r)
|
||||||
run(shlex.split("/usr/bin/git pull"), text=True, cwd=r)
|
run(shlex.split("/usr/bin/git pull"), text=True, cwd=r)
|
||||||
for files in DL_FILES:
|
for file in DL_FILES:
|
||||||
copy(files)
|
copy(files)
|
||||||
for dirs in DL_DIRS:
|
for directory in DL_DIRS:
|
||||||
copy(dirs)
|
copy(directory)
|
||||||
|
|
||||||
|
|
||||||
def expand_settings():
|
def expand_settings():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user