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