1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-12 23:37:14 +03:00

util_ships.py: Add required blank line before function

This commit is contained in:
Athanasius 2022-12-04 15:14:31 +00:00
parent 04145146d7
commit c5a2943966
No known key found for this signature in database
GPG Key ID: 772697E181BB2767

View File

@ -1,6 +1,7 @@
"""Utility functions relating to ships."""
from edmc_data import ship_name_map
def ship_file_name(ship_name: str, ship_type: str) -> str:
"""Return a ship name suitable for a filename."""
name = str(ship_name or ship_name_map.get(ship_type.lower(), ship_type)).strip()