From de9e8e944e0ee803eaab8d63fad339df5ad4dc52 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Wed, 7 Apr 2021 18:32:49 +0100 Subject: [PATCH] edshipyard: cast mod_guidance instead of type ignore --- edshipyard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edshipyard.py b/edshipyard.py index 5c31cb24..d709a2e1 100644 --- a/edshipyard.py +++ b/edshipyard.py @@ -44,7 +44,7 @@ def export(data, filename=None) -> None: # noqa: C901, CCR001 mod_class = module['class'] mod_rating = module['rating'] mod_mount = module.get('mount') - mod_guidance: str = module.get('guidance') # type: ignore + mod_guidance: str = str(module.get('guidance')) ret = f'{mod_class}{mod_rating}' if 'guidance' in module: # Missiles