From 3d039724c9e9df29e2dfe87d71af1c7d9a7ecc6e Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Thu, 13 Aug 2020 01:18:03 +0300 Subject: [PATCH] Relax ship name format restrictions even further --- service/port/eft.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/port/eft.py b/service/port/eft.py index 4161692aa..585b8d0f1 100644 --- a/service/port/eft.py +++ b/service/port/eft.py @@ -598,7 +598,7 @@ def _importCreateFit(lines): """Create fit and set top-level entity (ship or citadel).""" fit = Fit() header = lines.pop(0) - m = re.match('\[(?P[\w\s\']+),\s*(?P.+)\]', header) + m = re.match('\[(?P[^,]+),\s*(?P.+)\]', header) if not m: pyfalog.warning('service.port.eft.importEft: corrupted fit header') raise EftImportError