diff --git a/mamweb/migrations/0001_initial.py b/mamweb/migrations/0001_initial.py index e96cb262..b1944e28 100644 --- a/mamweb/migrations/0001_initial.py +++ b/mamweb/migrations/0001_initial.py @@ -8,7 +8,7 @@ from shutil import copytree def zkopiruj_fotky(apps, schema_editor): - copytree("mamweb/static/images/header/", "media/header/", dirs_exist_ok=True) + copytree("mamweb/static/images/header/", "media/header/") # FIXME: bylo tu dirs_exists_ok=True, nekompatibilní s Py 3.7 class Migration(migrations.Migration):