mirror of
https://github.com/ae-utbm/sith.git
synced 2025-08-20 16:09:56 +00:00
mistake correction
This commit is contained in:
@@ -13,7 +13,7 @@ class Command(BaseCommand):
|
|||||||
parser.add_argument("-f", "--force", action="store_true")
|
parser.add_argument("-f", "--force", action="store_true")
|
||||||
|
|
||||||
def handle(self, number: int, path: pathlib.Path, force: int, *args, **options):
|
def handle(self, number: int, path: pathlib.Path, force: int, *args, **options):
|
||||||
if not path.exists():
|
if path.exists():
|
||||||
dest_path = pathlib.Path(
|
dest_path = pathlib.Path(
|
||||||
BASE_DIR / "core" / "static" / "core" / "img" / f"promo_{number}.png"
|
BASE_DIR / "core" / "static" / "core" / "img" / f"promo_{number}.png"
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user