From ced000b10994459af7dac23790cd59c1c7aaa5a5 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 22 Sep 2014 11:30:00 +0200 Subject: [PATCH] Fix regular expresion on migrate_attachments script. --- .../attachments/management/commands/migrate_attachments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taiga/projects/attachments/management/commands/migrate_attachments.py b/taiga/projects/attachments/management/commands/migrate_attachments.py index a1c7e283..7362122b 100644 --- a/taiga/projects/attachments/management/commands/migrate_attachments.py +++ b/taiga/projects/attachments/management/commands/migrate_attachments.py @@ -16,7 +16,7 @@ class Command(BaseCommand): help = "Parses all objects and try replace old attachments url with one new" - trx = r"((?:https?)://api-taiga\.kaleidos\.net/attachments/(\d+)/[^\s]+)" + trx = r"((?:https?)://api-taiga\.kaleidos\.net/attachments/(\d+)/[^\s\"]+)" @transaction.atomic def handle(self, *args, **options):