From 5103744d412960b8e92ef93cc1ce8583e76fd478 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Kl=C3=BCnder?= Date: Sat, 11 Nov 2023 12:07:42 +0100 Subject: [PATCH] syntax error, oops --- src/c3nav/mapdata/migrations/0016_remove_source_image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c3nav/mapdata/migrations/0016_remove_source_image.py b/src/c3nav/mapdata/migrations/0016_remove_source_image.py index 8eb6bafd..a316e13b 100644 --- a/src/c3nav/mapdata/migrations/0016_remove_source_image.py +++ b/src/c3nav/mapdata/migrations/0016_remove_source_image.py @@ -11,7 +11,7 @@ from django.db import migrations def move_sources(apps, schema_editor): Source = apps.get_model('mapdata', 'Source') for source in Source.objects.all(): - with open(settings.SOURCES_ROOT / source.name), 'wb') as f: + with open(settings.SOURCES_ROOT / source.name, 'wb') as f: f.write(source.image)