mirror of
https://github.com/ae-utbm/sith.git
synced 2025-04-16 02:50:22 +00:00
corrected path conversion
This commit is contained in:
parent
468ff731fa
commit
d37ef32a3b
@ -16,12 +16,12 @@ class Command(BaseCommand):
|
|||||||
self.stdout.write("input file does not exist.")
|
self.stdout.write("input file does not exist.")
|
||||||
return
|
return
|
||||||
|
|
||||||
dest_path = pathlib.Path(
|
dest_path = (
|
||||||
pathlib.Path(apps.get_app_config("core").path)
|
pathlib.Path(apps.get_app_config("core").path)
|
||||||
/ "static"
|
/ "static"
|
||||||
/ "core"
|
/ "core"
|
||||||
/ "img"
|
/ "img"
|
||||||
/ f"promo_{number}.png"
|
/ "promo_{number}.png"
|
||||||
)
|
)
|
||||||
|
|
||||||
if dest_path.exists() and not force:
|
if dest_path.exists() and not force:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user