jooola 2023-06-27 12:25:31 +00:00 zatwierdzone przez Georg Krause
rodzic cb4c27dce0
commit b20b33b838
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -73,7 +73,7 @@ class Command(BaseCommand):
self.stdout.write(f"Found {to_change.count()} uploads to update.")
target = options["target"] if options["target"] else options["source"]
target = options.get("target", options["source"])
for upl in to_change:
upl.audio_file = str(upl.source).replace(str(prefix), str(target))