fix underscore in ship url

This commit is contained in:
Luke Robles 2023-04-28 14:02:49 -07:00
parent 63f44c1a81
commit e237f73bf4

View File

@ -8,7 +8,7 @@ async def get_ship(ship_name):
wiki_url = "https://starcitizen.tools/"
try:
wiki_ship_name = " ".join(elem.capitalize() for elem in ship_name.split())
wiki_ship_name = "_".join(elem.capitalize() for elem in ship_name.split())
# print(wiki_ship_name)